[CRIU] [PATCH 00/11] cgroup: net_prio.ifpriomap C/R
Dmitry Safonov
dsafonov at virtuozzo.com
Wed Jul 26 00:08:05 MSK 2017
The set adds support for net_prio.ifpriomap C/R and it's specifics:
- it's multiline cgroup property and kernel can read it only
line-by line (not in one big multi-line write)
- network interfaces in the property are from host, not from net-ns
- some refactoring
- zdtm test
Dmitry Safonov (11):
cgroup: Refactor special_props comparisons
cgroup: Use local variable prop in restore_special_props()
cgroup: Introduce restore_special_propery()
cgroup: Separate devices.list cgroup restoring
cgroup: Handle multiline properties in restore_cgroup_prop()
cgroup: Drop useless check e->n_properties > 0
cgroup: Split net_prio.ifpriomap writes
cgroup: Add skipping fails arg for writing to property
cgroup: Optimize ifpriomap restoring
zdtm/cgroup: Fix misnamed array deny => dev_allow
zdtm/cgroup: Add test for ifpriomap
criu/cgroup.c | 318 +++++++++++++++++++--------------
test/zdtm/static/Makefile | 1 +
test/zdtm/static/cgroup04.c | 10 +-
test/zdtm/static/cgroup_ifpriomap.c | 271 ++++++++++++++++++++++++++++
test/zdtm/static/cgroup_ifpriomap.desc | 1 +
test/zdtm/static/cgroup_ifpriomap.hook | 15 ++
6 files changed, 481 insertions(+), 135 deletions(-)
create mode 100644 test/zdtm/static/cgroup_ifpriomap.c
create mode 100644 test/zdtm/static/cgroup_ifpriomap.desc
create mode 100755 test/zdtm/static/cgroup_ifpriomap.hook
--
2.13.3
More information about the CRIU
mailing list