libvirt/src/util
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
..
iohelper.c
Makefile.inc.am util: Fix NAME section for virkey{code,name}-* 2019-04-15 16:20:46 +02:00
viralloc.c util: alloc: Add automatic cleanup/disposal of strings 2019-04-03 11:58:10 +02:00
viralloc.h util: alloc: use #pragma once 2019-06-19 17:12:31 +02:00
virarch.c
virarch.h util: arch.h: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virarptable.c
virarptable.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viratomic.c
viratomic.h util: atomic: use #pragma once 2019-06-19 17:12:31 +02:00
viraudit.c
viraudit.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virauth.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virauth.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virauthconfig.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virauthconfig.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virautoclean.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virbitmap.c util: Introduce virBitmapUnion() 2019-06-04 09:29:35 +02:00
virbitmap.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virbuffer.c virBuffer: Try harder to free buffer 2019-05-06 09:33:10 +02:00
virbuffer.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vircgroup.c util: vircgroup: move virCgroupGetValueStr out of virCgroupGetValueForBlkDev 2019-06-21 14:35:57 +02:00
vircgroup.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
vircgroupbackend.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
vircgroupbackend.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
vircgrouppriv.h util: vircgroup: move virCgroupGetValueStr out of virCgroupGetValueForBlkDev 2019-06-21 14:35:57 +02:00
vircgroupv1.c util: vircgroupv1: add support for BFQ blkio files 2019-06-21 14:35:59 +02:00
vircgroupv1.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
vircgroupv2.c util: vircgroupv2: add support for BFQ files 2019-06-21 14:36:02 +02:00
vircgroupv2.h util: cgroup: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virclosecallbacks.c
virclosecallbacks.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vircommand.c virCommand: Make virCommandPassFDGetFDIndex fail if passed command is in error state 2019-05-14 15:58:30 +02:00
vircommand.h util: command: use #pragma once in headers 2019-06-19 17:12:32 +02:00
vircommandpriv.h util: command: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virconf.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virconf.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vircrypto.c
vircrypto.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virdbus.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virdbus.h util: dbus: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virdbuspriv.h util: dbus: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virdevmapper.c
virdevmapper.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virdnsmasq.c lib: Don't use virReportSystemError() if virCommandRun() fails 2019-04-12 15:56:28 +02:00
virdnsmasq.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virebtables.c
virebtables.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virendian.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virenum.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virenum.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virerror.c util: error: Add API for prefixing last set error with a string 2019-06-20 17:10:24 +02:00
virerror.h util: error: Add API for prefixing last set error with a string 2019-06-20 17:10:24 +02:00
virerrorpriv.h util: error: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virevent.c
virevent.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
vireventpoll.c
vireventpoll.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfcp.c
virfcp.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfdstream.c
virfdstream.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfile.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virfile.h util: file: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virfilecache.c
virfilecache.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virfirewall.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virfirewall.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirewalld.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virfirewalld.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirewalldpriv.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirewallpriv.h util: firewall: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virfirmware.c
virfirmware.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virgettext.c
virgettext.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virgic.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virgic.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virhash.c util: hash: Append to hash buckets when adding new entries 2019-04-25 13:28:16 +02:00
virhash.h util: hash: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhashcode.c
virhashcode.h util: hash: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhook.c network: convert hook script to take a network port XML 2019-06-17 15:19:54 +01:00
virhook.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virhostcpu.c util: Add virHostCPUGetTscInfo 2019-06-03 18:07:16 +02:00
virhostcpu.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhostcpupriv.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhostdev.c virhostdev: Use VIR_AUTOPTR more 2019-06-20 10:29:54 +02:00
virhostdev.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virhostmem.c
virhostmem.h util: host: use #pragma once in headers 2019-06-19 17:12:32 +02:00
viridentity.c
viridentity.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virinitctl.c
virinitctl.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viriptables.c network: split setup of ipv4 and ipv6 top level chains 2019-03-19 10:01:53 +00:00
viriptables.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viriscsi.c
viriscsi.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virjson.c util: json: Use VIR_APPEND_ELEMENT in virJSONValueObjectAppend 2019-04-10 16:34:57 +02:00
virjson.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virkeycode.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virkeycode.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virkeyfile.c
virkeyfile.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virkmod.c
virkmod.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virlease.c
virlease.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virlockspace.c
virlockspace.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virlog.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virlog.h util: log: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virmacaddr.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virmacaddr.h util: mac: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virmacmap.c
virmacmap.h util: mac: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virmdev.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virmdev.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virmodule.c
virmodule.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virnetdev.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnetdev.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevbandwidth.c
virnetdevbandwidth.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevbridge.c util: Fix uninitalized variable to avoid garbage value. 2019-04-30 09:44:21 +02:00
virnetdevbridge.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevip.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnetdevip.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevmacvlan.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virnetdevmacvlan.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevmidonet.c
virnetdevmidonet.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevopenvswitch.c util: suppress unimportant ovs-vsctl errors when getting interface stats 2019-03-28 11:19:03 -04:00
virnetdevopenvswitch.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevtap.c util: add helper method for re-attaching a tap device to a bridge 2019-04-16 14:44:53 +01:00
virnetdevtap.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevveth.c
virnetdevveth.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevvlan.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virnetdevvlan.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetdevvportprofile.c util: add API for copying virtual port profile data 2019-04-17 14:12:56 +01:00
virnetdevvportprofile.h util: netdev: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virnetlink.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virnetlink.h util: netlink: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virnodesuspend.c nodesuspend: report unsupported if systemd & pm-utils aren't available 2019-06-17 15:02:24 +01:00
virnodesuspend.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virnuma.c util: Propagate numad failures correctly 2019-06-04 10:13:07 +02:00
virnuma.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virobject.c object: Add sanity check on correct parent class 2019-03-15 11:10:12 -05:00
virobject.h util: object: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virpci.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virpci.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virperf.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virperf.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virpidfile.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virpidfile.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virpolkit.c lib: Avoid double close when passing FDs with virCommandPassFD() 2019-05-17 16:01:11 +02:00
virpolkit.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virportallocator.c
virportallocator.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virprobe.h util: virprobe.h: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virprocess.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virprocess.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virqemu.c
virqemu.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virrandom.c
virrandom.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virresctrl.c virresctrl: Sort resctrl array correctly in virResctrlMonitorGetStats() 2019-05-13 14:38:58 +02:00
virresctrl.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virresctrlpriv.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virrotatingfile.c
virrotatingfile.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virscsi.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virscsi.h util: scsi: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virscsihost.c
virscsihost.h util: scsi: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virscsivhost.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virscsivhost.h util: scsi: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virseclabel.c
virseclabel.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsecret.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virsecret.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsexpr.c
virsexpr.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsocketaddr.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virsocketaddr.h util: socketaddr: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virstorageencryption.c
virstorageencryption.h util: storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virstoragefile.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virstoragefile.h util: storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virstoragefilebackend.c Fix names for abs_top_{src,build}dir variables 2019-03-14 10:05:28 +01:00
virstoragefilebackend.h util: storage: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virstring.c util: Introduce virStringParseYesNo helper 2019-03-13 14:24:18 +01:00
virstring.h util: string: use #pragma once in headers 2019-06-19 17:12:32 +02:00
virsysinfo.c virSysinfoReadARM: Try reading DMI table 2019-06-03 17:59:38 +02:00
virsysinfo.h util: sysinfo: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsysinfopriv.h util: sysinfo: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsystemd.c util: eliminate duplicate function virDBusMessageRead 2019-04-15 12:47:44 -04:00
virsystemd.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virsystemdpriv.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virthread.c
virthread.h util: thread: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virthreadjob.c
virthreadjob.h util: thread: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virthreadpool.c
virthreadpool.h util: thread: use #pragma once in headers 2019-06-19 17:12:31 +02:00
virtime.c
virtime.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virtpm.c
virtpm.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virtypedparam.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virtypedparam.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viruri.c
viruri.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virusb.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
virusb.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virutil.c m4: Provide default value fore UDEVADM 2019-05-17 15:08:59 +02:00
virutil.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
viruuid.c
viruuid.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virvhba.c
virvhba.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virvsock.c
virvsock.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virxdrdefs.h util: misc: use #pragma once in headers 2019-06-19 17:12:33 +02:00
virxml.c
virxml.h util: xml: use #pragma once in headers 2019-06-19 17:12:33 +02:00