tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: blocksizes

On Sun, Jan 24, 2010 at 08:48:32PM +0000, David Laight wrote:
 > > The btodb/dbtob macros will need another argument to indicate
 > > where the block size is obtained.
 > That will just cause massive errors...
 > For disks I would go for transfer requests (eg from fs) that are either in
 > fixed units (BDEVSIZE, 512) or in bytes.
 > Much like the current block device transfers - where transfers must be a
 > multiple of 512 - transfers you need to be aligned to the physical
 > sector size.

bytes! :-)

David A. Holland

Home | Main Index | Thread Index | Old Index