summaryrefslogtreecommitdiff
path: root/block/blk-mq-sched.c
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2021-06-10 20:07:37 -0700
committerJens Axboe <axboe@kernel.dk>2021-06-16 11:32:03 -0600
commit828615950b5876e75587fdd5e9d1185be9cabba7 (patch)
tree731b09bab247f7a1f968d96744e15a824aa67453 /block/blk-mq-sched.c
parent37fe403898b2fa5fc9d3616fcda2ee6629318aab (diff)
downloadlwn-828615950b5876e75587fdd5e9d1185be9cabba7.tar.gz
lwn-828615950b5876e75587fdd5e9d1185be9cabba7.zip
docs/cgroup-v1/blkio: update for 5.x kernels
Commit bf382fb0bcef4 ("block: remove legacy IO schedulers", Oct 12 2018) removes the CFQ scheduler, together with blkio.weight and blkio.weight_device described in cgroup v1 documentation. Users are supposed to use the BFQ scheduler, which cgroup file for setting weight is blkio.bfq.weight, but there is no way to set per-device weight. Later, commit 795fe54c2a8 per-device weights for BFQ, meaning that blkio.bfq.weight and blkio.bfq.weight_device can be used in a way similar to the old CFQ cgroup interface. Yet, the cgroup v1 docs were never updated. Fix this: - use the new file names; - fix the range for weight (used to be 10..1000, now 1..1000); - link to BFQ scheduler docs. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions