Pavel Hrdina 7e8a1a6e21 util: vircgroupv2: add support for BFQ files
In kernel 4.12 there was introduced new BFQ scheduler and in kernel
5.0 the old CFQ scheduler was removed.  This has an implication on
the cgroups file names.

If the CFQ controller is enabled we use one file:

    io.weight

The new BFQ controller expose one file with different name:

    io.bfq.weight

Except for different name they have different syntax.

io.weight:

    default $val
    major:minor $val

io.bfq.weight:

    $val

The difference is that BFQ doesn't support per-device weight.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-06-21 14:36:02 +02:00
..
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:31 +02:00
2019-06-04 09:29:35 +02:00
2019-06-03 18:07:16 +02:00
2019-06-20 10:29:54 +02:00
2019-02-14 14:09:38 +01:00
2019-02-14 14:09:38 +01:00