[CRIU] [PATCH 1/5] Add separate list for slave tty fds on restore v2

Cyrill Gorcunov gorcunov at openvz.org
Wed Sep 12 11:44:19 EDT 2012


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_slaves list which will allow
us to order tty file restore procesure.

Because we need to fetch which list to be used depending
on tty type this patch extend select_ps_list with fdinfo_list_entry
parameter.

v2 (by xemul@):
 - make sure the epoll list is still last

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 files.c           |   13 +++++++++++--
 include/crtools.h |    1 +
 2 files changed, 12 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-separate-list-for-slave-tty-fds-on-restore-v2.patch
Type: text/x-patch
Size: 1730 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120912/f25e860b/0001-Add-separate-list-for-slave-tty-fds-on-restore-v2.bin


More information about the CRIU mailing list