Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: set blksize of block device

0
0
"Shesha B. " Sreenivasamurthy writes: Firstly you cannot set the block size to lesser than 512.
When there is a request for the IO, you populate "struct req" data structure which you will pass it to the kernel or lower level SCSI/SATA driver. In the "struct req" there is a field "b_size" which may be what you are interested in. At the user level you can use the IOCTLs to set the block size of the RAW block device.

-Shesha

On Wed, 2004-10-27 at 18:44, Lei Yang wrote:

[...]


Viewing all articles
Browse latest Browse all 1267

Latest Images

Trending Articles





Latest Images