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

Andrew Vagin avagin at virtuozzo.com
Wed Dec 9 00:25:55 PST 2015


On Tue, Dec 08, 2015 at 03:38:27PM +0300, Pavel Emelyanov wrote:
> 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 have sent my commets as I promised.

> 
> > 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
> > .
> > 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list