1BLK_QUEUE_CHUNK_SECT(9) Block Devices BLK_QUEUE_CHUNK_SECT(9)
2
3
4
6 blk_queue_chunk_sectors - set size of the chunk for this queue
7
9 void blk_queue_chunk_sectors(struct request_queue * q,
10 unsigned int chunk_sectors);
11
13 q
14 the request queue for the device
15
16 chunk_sectors
17 chunk sectors in the usual 512b unit
18
20 If a driver doesn't want IOs to cross a given chunk size, it can set
21 this limit and prevent merging across chunks. Note that the chunk size
22 must currently be a power-of-2 in sectors. Also note that the block
23 layer must accept a page worth of data at any offset. So if the
24 crossing of chunks is a hard limitation in the driver, it must still be
25 prepared to split single page bios.
26
28Kernel Hackers Manual 3.10 June 2019 BLK_QUEUE_CHUNK_SECT(9)