1BLK_QUEUE_MAX_HW_SEC(9)          Block Devices         BLK_QUEUE_MAX_HW_SEC(9)
2
3
4

NAME

6       blk_queue_max_hw_sectors - set max sectors for a request for this queue
7

SYNOPSIS

9       void blk_queue_max_hw_sectors(struct request_queue * q,
10                                     unsigned int max_hw_sectors);
11

ARGUMENTS

13       q
14           the request queue for the device
15
16       max_hw_sectors
17           max hardware sectors in the usual 512b unit
18

DESCRIPTION

20       Enables a low level driver to set a hard upper limit, max_hw_sectors,
21       on the size of requests. max_hw_sectors is set by the device driver
22       based upon the combined capabilities of I/O controller and storage
23       device.
24
25       max_sectors is a soft limit imposed by the block layer for filesystem
26       type requests. This value can be overridden on a per-device basis in
27       /sys/block/<device>/queue/max_sectors_kb. The soft limit can not exceed
28       max_hw_sectors.
29
31Kernel Hackers Manual 2.6.       November 2011         BLK_QUEUE_MAX_HW_SEC(9)
Impressum