[CRIU] [PATCH 1/3] [v4] crtools: close a signal descriptor after passing a preparation stage

Mike Rapoport rppt at linux.vnet.ibm.com
Wed Jan 11 22:28:50 PST 2017


On Wed, Jan 11, 2017 at 12:26:50PM -0800, Andrei Vagin wrote:
> On Wed, Jan 11, 2017 at 08:45:50AM +0200, Mike Rapoport wrote:
> > On Wed, Jan 11, 2017 at 12:21:43AM +0300, Andrei Vagin wrote:
> > > From: Andrei Vagin <avagin at virtuozzo.com>
> > > 
> > > This patch adds the --siganl-fd FD option to specify a file descriptor.
> > > CRIU will write '\0' to this descriptor and close it after passing
> > > a preparation stage.
> > > 
> > > +*--status_fd*::
> > > +    Write \\0 to the FD and close it once page-server is ready to handle
> > 
> > What about lazy-pages?
> > 
> 
> It works for lazy-pages too, but you don't add laze-pages isn't
> described in criu.txt yet;)

Oops...
 
> > > +    requests. The status-fd allows to not daemonize a process and get its
> > > +    exit code at the end.
> > > +    It isn't supposed to use --daemon and --status-fd together.



More information about the CRIU mailing list