Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

blk-mq: fix stale nr_requests documentation

The nr_requests documentation is still the removed single queue, remove
it and update to current blk-mq.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Yu Kuai and committed by
Jens Axboe
a75fe12f 97840411

+4 -10
+4 -10
Documentation/ABI/stable/sysfs-block
··· 603 603 Contact: linux-block@vger.kernel.org 604 604 Description: 605 605 [RW] This controls how many requests may be allocated in the 606 - block layer for read or write requests. Note that the total 607 - allocated number may be twice this amount, since it applies only 608 - to reads or writes (not the accumulated sum). 609 - 610 - To avoid priority inversion through request starvation, a 611 - request queue maintains a separate request pool per each cgroup 612 - when CONFIG_BLK_CGROUP is enabled, and this parameter applies to 613 - each such per-block-cgroup request pool. IOW, if there are N 614 - block cgroups, each request queue may have up to N request 615 - pools, each independently regulated by nr_requests. 606 + block layer. Noted this value only represents the quantity for a 607 + single blk_mq_tags instance. The actual number for the entire 608 + device depends on the hardware queue count, whether elevator is 609 + enabled, and whether tags are shared. 616 610 617 611 618 612 What: /sys/block/<disk>/queue/nr_zones