[CRIU] Re: [PATCH 1/5] Add separate lists for master/slave fd on restore v2

Cyrill Gorcunov gorcunov at openvz.org
Wed Sep 12 04:01:06 EDT 2012


On Wed, Sep 12, 2012 at 11:17:18AM +0400, Pavel Emelyanov wrote:
> On 09/12/2012 10:58 AM, Cyrill Gorcunov wrote:
> > 
> > When we will be restoring ttys we need that restore
> > procedure for master peers will be yielded earlier
> > than for slave peers due to ttys specifics. With this
> > commit we introduce @tty_masters and @tty_slaves
> > lists which will allow us to order tty file restore
> > procesure.
> > 
> > v2 (by xemul@):
> >  - make sure the epoll list is still last
> > 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> >  files.c           |   17 +++++++++++++++++
> >  include/crtools.h |    2 ++
> >  2 files changed, 19 insertions(+), 0 deletions(-)
> > 
> 
> Do we really need two lists? We only need to have slaves
> after masters. For that one new list is enough, e.g. slaves.

I thought this would be more clear. I'll update.

	Cyrill


More information about the CRIU mailing list