]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
docs/cgroup-v1/blkio: update for 5.x kernels
authorKir Kolyshkin <kolyshkin@gmail.com>
Fri, 11 Jun 2021 03:07:37 +0000 (20:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 Jun 2021 17:32:03 +0000 (11:32 -0600)
commit828615950b5876e75587fdd5e9d1185be9cabba7
tree731b09bab247f7a1f968d96744e15a824aa67453
parent37fe403898b2fa5fc9d3616fcda2ee6629318aab
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>
Documentation/admin-guide/cgroup-v1/blkio-controller.rst