diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2021-06-10 20:07:37 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-16 11:32:03 -0600 |
commit | 828615950b5876e75587fdd5e9d1185be9cabba7 (patch) | |
tree | 731b09bab247f7a1f968d96744e15a824aa67453 /block/blk-mq-sched.c | |
parent | 37fe403898b2fa5fc9d3616fcda2ee6629318aab (diff) |
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