[CRIU] [PATCHv0 0/3] Support C/R of frozen cgroup

Batalov Eugene eabatalov89 at gmail.com
Tue Dec 8 05:13:31 PST 2015


We will send new patchset version that saves freezer state
in CgroupPropEntry very soon.

2015-12-08 15:38 GMT+03:00 Pavel Emelyanov <xemul at parallels.com>:

> On 11/26/2015 12:31 AM, Andrey Wagin wrote:
> > 2015-11-24 16:34 GMT+03:00 Eugene Batalov <eabatalov89 at gmail.com>:
> >> Hello. This patchset implements c/r of ps tree
> >> that was frozen using freezer controller before start of
> >> ps tree dumping.
> >> Such ps tree will be frozen after restore.
> >
> > Hi,
> >
> > Thank you for the patches. They look good at first glance. I will
> > review them more carefully tomorrow.
>
> So? :)
>
> > I want to suggest to add the --leave-frozen options to freeze
> > processes after restoring even if  they were not frozen before.
> >
> >> This means that we can c/r paused Docker containers.
> >> See details in issue #20 on github:
> >> https://github.com/xemul/criu/issues/20
> >>
> >> We'll send patch with autotest for this feature later.
> >>
> >> From user point of view we extend functionality of --freeze-cgroup
> >> option so CRIU documentation and help message for --freeze-cgroup
> >> option may need some improvement/clarification.
> >>
> >> Evgeniy Akimov (3):
> >>   cgroups: save freezer state during dump
> >>   restore: split finalize_restore into two stages
> >>   restore: restore freezer cgroup state
> >>
> >>  cgroup.c              | 63
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> >>  cr-restore.c          | 37 +++++++++++++++++++-----------
> >>  include/cgroup.h      |  1 +
> >>  include/seize.h       |  1 +
> >>  protobuf/cgroup.proto |  1 +
> >>  seize.c               |  5 ++++
> >>  6 files changed, 95 insertions(+), 13 deletions(-)
> >>
> >> --
> >> 1.9.1
> >>
> >> _______________________________________________
> >> CRIU mailing list
> >> CRIU at openvz.org
> >> https://lists.openvz.org/mailman/listinfo/criu
> > _______________________________________________
> > CRIU mailing list
> > CRIU at openvz.org
> > https://lists.openvz.org/mailman/listinfo/criu
> > .
> >
>
>


-- 
Best regards,
Eugene Batalov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151208/2986f793/attachment.html>


More information about the CRIU mailing list