cgroup: Also set io.bfq.weight
authorKai Krakow <kai@kaishome.de>
Sat, 17 Aug 2019 00:33:43 +0000 (02:33 +0200)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Thu, 27 May 2021 12:05:37 +0000 (14:05 +0200)
commit4e589237979fdf90af38d466abd7fcd852356f02
tree994547c34ce3c451cffb8da4531046622a168a4f
parent94ad224240140a7287f9e2be5905b9c506350193
cgroup: Also set io.bfq.weight

Current kernels with BFQ scheduler do not yet set their IO weight
through "io.weight" but through "io.bfq.weight" (using a slightly
different interface supporting only default weights, not per-device
weights). This commit enables "IOWeight=" to just to that.

This patch may be dropped at some time later.

Link: https://github.com/systemd/systemd/issues/7057
Signed-off-by: Kai Krakow <kai@kaishome.de>
(cherry picked from commit 21221ce1ce9a572e82d46d80692afd65c224fc50)

Related: #1927290
src/core/cgroup.c