1BLK_LIMITS_MAX_HW_SE(9) Block Devices BLK_LIMITS_MAX_HW_SE(9)
2
3
4
6 blk_limits_max_hw_sectors - set hard and soft limit of max sectors for
7 request
8
10 void blk_limits_max_hw_sectors(struct queue_limits * limits,
11 unsigned int max_hw_sectors);
12
14 limits
15 the queue limits
16
17 max_hw_sectors
18 max hardware sectors in the usual 512b unit
19
21 Enables a low level driver to set a hard upper limit, max_hw_sectors,
22 on the size of requests. max_hw_sectors is set by the device driver
23 based upon the combined capabilities of I/O controller and storage
24 device.
25
26 max_sectors is a soft limit imposed by the block layer for filesystem
27 type requests. This value can be overridden on a per-device basis in
28 /sys/block/<device>/queue/max_sectors_kb. The soft limit can not exceed
29 max_hw_sectors.
30
32Kernel Hackers Manual 2.6. June 2019 BLK_LIMITS_MAX_HW_SE(9)