aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2013-12-24 14:19:27 -0500
committerIlya Dryomov <ilya.dryomov@inktank.com>2013-12-31 13:32:29 -0500
commitcdff49918c8286ac18593e742ead25242c76c81d (patch)
tree67f0ecace90d0563e70ab5284a6270ba300b16a2
parent0e32d7126cdf30b610bc131c81f131c717bd0d77 (diff)
crush: support new indep mode and SET_* steps (crush v2) by default
Add CRUSH_V2 feature (new indep mode and SET_* steps) to a set of features supported by default. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
-rw-r--r--include/linux/ceph/ceph_features.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ceph/ceph_features.h b/include/linux/ceph/ceph_features.h
index 003ea719be65..5f42e4412909 100644
--- a/include/linux/ceph/ceph_features.h
+++ b/include/linux/ceph/ceph_features.h
@@ -79,7 +79,8 @@ static inline u64 ceph_sanitize_features(u64 features)
79 CEPH_FEATURE_CRUSH_TUNABLES | \ 79 CEPH_FEATURE_CRUSH_TUNABLES | \
80 CEPH_FEATURE_CRUSH_TUNABLES2 | \ 80 CEPH_FEATURE_CRUSH_TUNABLES2 | \
81 CEPH_FEATURE_REPLY_CREATE_INODE | \ 81 CEPH_FEATURE_REPLY_CREATE_INODE | \
82 CEPH_FEATURE_OSDHASHPSPOOL) 82 CEPH_FEATURE_OSDHASHPSPOOL | \
83 CEPH_FEATURE_CRUSH_V2)
83 84
84#define CEPH_FEATURES_REQUIRED_DEFAULT \ 85#define CEPH_FEATURES_REQUIRED_DEFAULT \
85 (CEPH_FEATURE_NOSRCADDR | \ 86 (CEPH_FEATURE_NOSRCADDR | \