diff options
author | Tejun Heo <htejun@fb.com> | 2016-05-05 16:42:55 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-05-05 16:43:06 -0400 |
commit | 13c31542cc57e1454dccd6383bfdac98cbee5bb1 (patch) | |
tree | d23b7cf447ac2ba86d9377cb6c3070f6445f72f5 /src/journal-remote/journal-remote.c | |
parent | 5119d304ffe4d1bcac27626c842413f5f2defe0d (diff) |
core: add io controller support on the unified hierarchy
On the unified hierarchy, blkio controller is renamed to io and the interface
is changed significantly.
* blkio.weight and blkio.weight_device are consolidated into io.weight which
uses the standardized weight range [1, 10000] with 100 as the default value.
* blkio.throttle.{read|write}_{bps|iops}_device are consolidated into io.max.
Expansion of throttling features is being worked on to support
work-conserving absolute limits (io.low and io.high).
* All stats are consolidated into io.stats.
This patchset adds support for the new interface. As the interface has been
revamped and new features are expected to be added, it seems best to treat it
as a separate controller rather than trying to expand the blkio settings
although we might add automatic translation if only blkio settings are
specified.
* io.weight handling is mostly identical to blkio.weight[_device] handling
except that the weight range is different.
* Both read and write bandwidth settings are consolidated into
CGroupIODeviceLimit which describes all limits applicable to the device.
This makes it less painful to add new limits.
* "max" can be used to specify the maximum limit which is equivalent to no
config for max limits and treated as such. If a given CGroupIODeviceLimit
doesn't contain any non-default configs, the config struct is discarded once
the no limit config is applied to cgroup.
* lookup_blkio_device() is renamed to lookup_block_device().
Signed-off-by: Tejun Heo <htejun@fb.com>
Diffstat (limited to 'src/journal-remote/journal-remote.c')
0 files changed, 0 insertions, 0 deletions