[CRIU] Re: [PATCH 1/5] Add separate lists for master/slave fd on
restore v2
Pavel Emelyanov
xemul at parallels.com
Wed Sep 12 03:17:18 EDT 2012
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.
More information about the CRIU
mailing list