|
@@ -73,6 +73,8 @@
|
|
|
#define CEPH_FEATURE_MON_STATEFUL_SUB (1ULL<<57) /* stateful mon subscription */
|
|
|
#define CEPH_FEATURE_MON_ROUTE_OSDMAP (1ULL<<57) /* peon sends osdmaps */
|
|
|
#define CEPH_FEATURE_CRUSH_TUNABLES5 (1ULL<<58) /* chooseleaf stable mode */
|
|
|
+// duplicated since it was introduced at the same time as CEPH_FEATURE_CRUSH_TUNABLES5
|
|
|
+#define CEPH_FEATURE_NEW_OSDOPREPLY_ENCODING (1ULL<<58) /* New, v7 encoding */
|
|
|
|
|
|
/*
|
|
|
* The introduction of CEPH_FEATURE_OSD_SNAPMAPPER caused the feature
|
|
@@ -119,7 +121,8 @@ static inline u64 ceph_sanitize_features(u64 features)
|
|
|
CEPH_FEATURE_OSD_PRIMARY_AFFINITY | \
|
|
|
CEPH_FEATURE_MSGR_KEEPALIVE2 | \
|
|
|
CEPH_FEATURE_CRUSH_V4 | \
|
|
|
- CEPH_FEATURE_CRUSH_TUNABLES5)
|
|
|
+ CEPH_FEATURE_CRUSH_TUNABLES5 | \
|
|
|
+ CEPH_FEATURE_NEW_OSDOPREPLY_ENCODING)
|
|
|
|
|
|
#define CEPH_FEATURES_REQUIRED_DEFAULT \
|
|
|
(CEPH_FEATURE_NOSRCADDR | \
|