Re: Block devices with other that 512 byte/block

Stephen C. Tweedie (sct@redhat.com)
Tue, 20 Jul 1999 15:13:54 +0100 (BST)


Hi,

On Tue, 20 Jul 1999 09:39:42 +0200, Holger.Smolinski@de.ibm.com said:

> some time ago, I remind to have heard rumours, that future versions of
> the Linux generic block device driver will support block devices with
> more/less than 512 bytes per block/hardsector.

We do. In principle, the current buffer cache supports any power-of-two
multiple of 512 bytes up to the hardware page size.

> In the 2.2.10 Kernel I still see the ">>9" operands, which indicate to
> me, that this one does not support larger blocks.

We do normalise the IO in places, yes. The IO request structures always
pass IOs around in multiples of 512 bytes, but that still works just
fine if the actual hardware sector size is larger.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/