]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-cgroup.c
core: add support for IOReadIOPSMax and IOWriteIOPSMax 3289/head
authorTejun Heo <htejun@fb.com>
Wed, 18 May 2016 20:50:56 +0000 (13:50 -0700)
committerTejun Heo <tj@kernel.org>
Wed, 18 May 2016 20:50:56 +0000 (13:50 -0700)
commitac06a0cf8a5c5bd58bfa022408361e982f100bcb
treeab73acdb848c8af75cde58002011709e15a4acfd
parent9be572497df8dd0a076c3a2c9142e25b1106aa60
core: add support for IOReadIOPSMax and IOWriteIOPSMax

cgroup IO controller supports maximum limits for both bandwidth and IOPS but
systemd resource control currently only supports bandwidth limits.  This patch
adds support for IOReadIOPSMax and IOWriteIOPSMax when unified cgroup hierarchy
is in use.

It isn't difficult to also add BlockIOReadIOPS and BlockIOWriteIOPS for legacy
hierarchies but IO control on legacy hierarchies is half-broken anyway, so
let's leave it alone for now.
man/systemd.resource-control.xml
src/basic/cgroup-util.c
src/basic/cgroup-util.h
src/core/cgroup.c
src/core/dbus-cgroup.c
src/core/load-fragment-gperf.gperf.m4