mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
inet: Rework inet sk dumping on new fdinfo scheme
Now every inetsk fd dump results in a new entry in the fdinfo.img file. Sockets itself are dumped into inetsk.img global image file. On restore the generic fdinfo redistribution algo is used and inet sockets are opened only when required. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -27,7 +27,6 @@ enum {
|
||||
CR_FD_PIPES,
|
||||
CR_FD_SIGACT,
|
||||
CR_FD_UNIXSK,
|
||||
CR_FD_INETSK,
|
||||
CR_FD_ITIMERS,
|
||||
CR_FD_CREDS,
|
||||
_CR_FD_TASK_TO,
|
||||
@@ -50,6 +49,7 @@ enum {
|
||||
_CR_FD_GLOB_FROM,
|
||||
CR_FD_SK_QUEUES,
|
||||
CR_FD_REG_FILES,
|
||||
CR_FD_INETSK,
|
||||
_CR_FD_GLOB_TO,
|
||||
|
||||
CR_FD_MAX
|
||||
@@ -102,7 +102,7 @@ extern struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX];
|
||||
#define FMT_FNAME_PSTREE "pstree.img"
|
||||
#define FMT_FNAME_SIGACTS "sigacts-%d.img"
|
||||
#define FMT_FNAME_UNIXSK "unixsk-%d.img"
|
||||
#define FMT_FNAME_INETSK "inetsk-%d.img"
|
||||
#define FMT_FNAME_INETSK "inetsk.img"
|
||||
#define FMT_FNAME_ITIMERS "itimers-%d.img"
|
||||
#define FMT_FNAME_CREDS "creds-%d.img"
|
||||
#define FMT_FNAME_UTSNS "utsns-%d.img"
|
||||
|
Reference in New Issue
Block a user