[CRIU] [PATCH 00/11] cgroup: net_prio.ifpriomap C/R

Andrei Vagin avagin at virtuozzo.com
Tue Sep 5 09:15:46 MSK 2017


Applied, thanks!
On Wed, Jul 26, 2017 at 12:08:05AM +0300, Dmitry Safonov wrote:
> 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
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list