mirror of
https://github.com/systemd/systemd
synced 2024-09-06 00:41:36 +00:00
![Tejun Heo](/assets/img/avatar_default.png)
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.
6 lines
54 B
SYSTEMD
6 lines
54 B
SYSTEMD
[Unit]
|
|
Description=Parent Slice
|
|
|
|
[Slice]
|
|
IOWeight=200
|