diff options
author | 2014-03-24 17:12:50 +0200 | |
---|---|---|
committer | 2014-04-04 21:08:20 -0700 | |
commit | 18cb95af2d7c69aa136ab13f02dd55188c120e75 (patch) | |
tree | ce97d4c5803cbf7effe6f6da0d6d2c4bcf4abdc3 /include/linux/ceph | |
parent | libceph: redo ceph_calc_pg_primary() in terms of ceph_calc_pg_acting() (diff) | |
download | linux-18cb95af2d7c69aa136ab13f02dd55188c120e75.tar.gz linux-18cb95af2d7c69aa136ab13f02dd55188c120e75.tar.bz2 linux-18cb95af2d7c69aa136ab13f02dd55188c120e75.zip |
libceph: enable PRIMARY_AFFINITY feature bit
Announce our support for osdmaps with non-default primary affinity
values.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/ceph_features.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ceph/ceph_features.h b/include/linux/ceph/ceph_features.h index 7a4cab50b2cd..d12659ce550d 100644 --- a/include/linux/ceph/ceph_features.h +++ b/include/linux/ceph/ceph_features.h @@ -91,7 +91,8 @@ static inline u64 ceph_sanitize_features(u64 features) CEPH_FEATURE_CRUSH_V2 | \ CEPH_FEATURE_EXPORT_PEER | \ CEPH_FEATURE_OSDMAP_ENC | \ - CEPH_FEATURE_CRUSH_TUNABLES3) + CEPH_FEATURE_CRUSH_TUNABLES3 | \ + CEPH_FEATURE_OSD_PRIMARY_AFFINITY) #define CEPH_FEATURES_REQUIRED_DEFAULT \ (CEPH_FEATURE_NOSRCADDR | \ |