Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/images
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@gmail.com>2020-03-23 07:37:00 +0300
committerAndrei Vagin <avagin@gmail.com>2020-03-27 19:36:20 +0300
commite3a5d0975240f9e9b6b6d7a096af6b4bbad36737 (patch)
treeddf8b490073a7fd4e8bc1ada73ce3a74229fcaa4 /images
parent967797a8676c8b3b7cd8954892b113c6765af25a (diff)
memfd: save all memfd inodes in one image
Per-object image is acceptable if we expect to have 1-3 objects per-container. If we expect to have more objects, it is better to save them all into one image. There are a number of reasons for this: * We need fewer system calls to read all objects from one image. * It is faster to save or move one image. Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'images')
-rw-r--r--images/memfd.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/images/memfd.proto b/images/memfd.proto
index 546ffc2ab..ad5373d10 100644
--- a/images/memfd.proto
+++ b/images/memfd.proto
@@ -18,4 +18,5 @@ message memfd_inode_entry {
required uint64 size = 4;
required uint32 shmid = 5;
required uint32 seals = 6 [(criu).flags = "seals.flags"];
+ required uint64 inode_id = 7;
};