Re: [PATCH] 2.5 ide 48-bit usage
Jens Axboe (axboe@suse.de)
Wed, 7 May 2003 21:30:58 +0200
On Wed, May 07 2003, Alan Cox wrote:
> On Mer, 2003-05-07 at 17:28, Linus Torvalds wrote:
> > At least if I read the patch correctly, theer's no way for upper layers to
> > say "I want 48-bit addressing" - it's just turned on automatically for
> > high sectors (or big transfers).
>
> You read it incorrectly. The lower layers don't know about the issue at
> all. The disk layer does mapping (conceptually like READ6/READ10/READ16
> in SCSI)
>
> Raw I/O and other drivers can still issue CHS LBA28 and LBA48 taskfiles.
>
> > Well, you can mark the drive itself as wanting 48-bit transfers, but you
> > can't do it on a per-request basis.
>
> Its per request at the low level.
Thanks Alan, that is exactly right of course.
Linus has one point (I'll give him that), in that it might be beneficial
to be able to say "48-bit always on" for fs requests. Ie exactly what
ide-disk currently does.
--
Jens Axboe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/