diff options
author | Tejun Heo <htejun@fb.com> | 2016-05-18 17:35:12 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-05-18 17:35:12 -0700 |
commit | 538b48524cf48afc299ab78690bc03c18af67ede (patch) | |
tree | 70c5612292ae16f1485644bab7c80bdba365565e /man/sd_bus_negotiate_fds.xml | |
parent | 64faf04c1f178804e066972ab0d6ff1181c0d373 (diff) |
core: translate between IO and BlockIO settings to ease transition
Due to the substantial interface changes in cgroup unified hierarchy, new IO
settings are introduced. Currently, IO settings apply only to unified
hierarchy and BlockIO to legacy. While the transition is necessary, it's
painful for users to have to provide configs for both. This patch implements
translation from one config set to another for configs which make sense.
* The translation takes place during application of the configs. Users won't
see IO or BlockIO settings appearing without being explicitly created.
* The translation takes place only if there is no config for the matching
cgroup hierarchy type at all.
While this doesn't provide comprehensive compatibility, it should considerably
ease transition to the new IO settings which are a superset of BlockIO
settings.
v2:
- Update test-cgroup-mask.c so that it accounts for the fact that
CGROUP_MASK_IO and CGROUP_MASK_BLKIO move together. Also, test/parent.slice
now sets IOWeight instead of BlockIOWeight.
Diffstat (limited to 'man/sd_bus_negotiate_fds.xml')
0 files changed, 0 insertions, 0 deletions