projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c1228
)
libceph: enable PRIMARY_AFFINITY feature bit
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Mon, 24 Mar 2014 15:12:50 +0000
(17:12 +0200)
committer
Sage Weil
<sage@inktank.com>
Sat, 5 Apr 2014 04:08:20 +0000
(21:08 -0700)
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>
include/linux/ceph/ceph_features.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/ceph/ceph_features.h
b/include/linux/ceph/ceph_features.h
index 7a4cab50b2cd7285aea55559abaacf1fc762a132..d12659ce550d2f160cf7a0bebdc51160b39a6c3a 100644
(file)
--- 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 | \