From ccba2ced4b8a83edd91929d0cf23bbb0c0056ce6 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Tue, 15 Jan 2013 13:04:23 -0800 Subject: [PATCH] mds: add CEPH_FEATURE_MDSENC feature bit This will cover the MDS cluster on upgrade, and determine which encoding of the MDSMap they use for clients. Signed-off-by: Sage Weil Signed-off-by: Greg Farnum --- src/include/ceph_features.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/ceph_features.h b/src/include/ceph_features.h index 0561bc4afae..242e239c667 100644 --- a/src/include/ceph_features.h +++ b/src/include/ceph_features.h @@ -32,6 +32,7 @@ #define CEPH_FEATURE_CRUSH_TUNABLES2 (1<<25) #define CEPH_FEATURE_CREATEPOOLID (1<<26) #define CEPH_FEATURE_REPLY_CREATE_INODE (1<<27) +#define CEPH_FEATURE_MDSENC (1<<28) /* * Features supported. Should be everything above. @@ -64,7 +65,8 @@ CEPH_FEATURE_RECOVERY_RESERVATION | \ CEPH_FEATURE_CRUSH_TUNABLES2 | \ CEPH_FEATURE_CREATEPOOLID | \ - CEPH_FEATURE_REPLY_CREATE_INODE) + CEPH_FEATURE_REPLY_CREATE_INODE | \ + CEPH_FEATURE_MDSENC) #define CEPH_FEATURES_SUPPORTED_DEFAULT CEPH_FEATURES_ALL -- 2.47.3