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

docs: block: update and fix tiny error for bfq

The max value of blkio.bfq.weight is 1000, rather than 10000.
And 'weights' have been remove from /sys/block/XXX/queue/iosched.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Yufen Yu and committed by
Jens Axboe
65752aef 3197d48a

+1 -8
+1 -8
Documentation/block/bfq-iosched.rst
··· 492 492 it with auto-tuning. An alternative way to achieve this goal is to 493 493 just increase the value of timeout_sync, leaving max_budget equal to 0. 494 494 495 - weights 496 - ------- 497 - 498 - Read-only parameter, used to show the weights of the currently active 499 - BFQ queues. 500 - 501 - 502 495 4. Group scheduling with BFQ 503 496 ============================ 504 497 ··· 559 566 For each group, there is only the following parameter to set. 560 567 561 568 weight (namely blkio.bfq.weight or io.bfq-weight): the weight of the 562 - group inside its parent. Available values: 1..10000 (default 100). The 569 + group inside its parent. Available values: 1..1000 (default 100). The 563 570 linear mapping between ioprio and weights, described at the beginning 564 571 of the tunable section, is still valid, but all weights higher than 565 572 IOPRIO_BE_NR*10 are mapped to ioprio 0.