[CRIU] [PATCH criu-dev v2] images: nfs -- Reserve data for NFS support

Cyrill Gorcunov gorcunov at openvz.org
Wed Jun 15 05:12:17 PDT 2016


These entries will be used for NFS support and
we already test partial support in vz7 version
of criu. So to make images compatible lets reserve
some of them in advance.

CC: Pavel Emelyanov <xemul at virtuozzo.com>
CC: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 images/mnt.proto     | 5 +++++
 images/regfile.proto | 1 +
 2 files changed, 6 insertions(+)

diff --git a/images/mnt.proto b/images/mnt.proto
index 9338ecbc93a5..7b64cc59e1ff 100644
--- a/images/mnt.proto
+++ b/images/mnt.proto
@@ -21,6 +21,11 @@ enum fstype {
 	OVERLAYFS		= 17;
 	AUTOFS			= 18;
 	TRACEFS			= 19;
+
+	/* These three are reserved for NFS support */
+	RPC_PIPEFS		= 20;
+	NFS			= 21;
+	NFS4			= 22;
 };
 
 message mnt_entry {
diff --git a/images/regfile.proto b/images/regfile.proto
index e25d58902fd1..25b1e41933a6 100644
--- a/images/regfile.proto
+++ b/images/regfile.proto
@@ -10,4 +10,5 @@ message reg_file_entry {
 	optional sint32		mnt_id	= 7 [default = -1];
 	optional uint64		size	= 8;
 	optional bool		ext	= 9;
+	optional uint32         mode    = 10;
 }
-- 
2.5.5



More information about the CRIU mailing list