mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
include/ceph_features: add CEPH_FEATURES_OSD_ERASURE_CODES
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
This commit is contained in:
parent
fe136845a8
commit
bfc86a8243
@ -42,6 +42,7 @@
|
|||||||
#define CEPH_FEATURE_OSD_CACHEPOOL (1ULL<<35)
|
#define CEPH_FEATURE_OSD_CACHEPOOL (1ULL<<35)
|
||||||
#define CEPH_FEATURE_CRUSH_V2 (1ULL<<36) /* new indep; SET_* steps */
|
#define CEPH_FEATURE_CRUSH_V2 (1ULL<<36) /* new indep; SET_* steps */
|
||||||
#define CEPH_FEATURE_EXPORT_PEER (1ULL<<37)
|
#define CEPH_FEATURE_EXPORT_PEER (1ULL<<37)
|
||||||
|
#define CEPH_FEATURE_OSD_ERASURE_CODES (1ULL<<38)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The introduction of CEPH_FEATURE_OSD_SNAPMAPPER caused the feature
|
* The introduction of CEPH_FEATURE_OSD_SNAPMAPPER caused the feature
|
||||||
@ -107,6 +108,7 @@ static inline unsigned long long ceph_sanitize_features(unsigned long long f) {
|
|||||||
CEPH_FEATURE_OSD_CACHEPOOL | \
|
CEPH_FEATURE_OSD_CACHEPOOL | \
|
||||||
CEPH_FEATURE_CRUSH_V2 | \
|
CEPH_FEATURE_CRUSH_V2 | \
|
||||||
CEPH_FEATURE_EXPORT_PEER | \
|
CEPH_FEATURE_EXPORT_PEER | \
|
||||||
|
CEPH_FEATURE_OSD_ERASURE_CODES | \
|
||||||
0ULL)
|
0ULL)
|
||||||
|
|
||||||
#define CEPH_FEATURES_SUPPORTED_DEFAULT CEPH_FEATURES_ALL
|
#define CEPH_FEATURES_SUPPORTED_DEFAULT CEPH_FEATURES_ALL
|
||||||
|
Loading…
Reference in New Issue
Block a user