1 #ifndef __CEPH_FEATURES
2 #define __CEPH_FEATURES
3 
4 /*
5  * feature bits
6  */
7 #define CEPH_FEATURE_UID            (1<<0)
8 #define CEPH_FEATURE_NOSRCADDR      (1<<1)
9 #define CEPH_FEATURE_MONCLOCKCHECK  (1<<2)
10 #define CEPH_FEATURE_FLOCK          (1<<3)
11 #define CEPH_FEATURE_SUBSCRIBE2     (1<<4)
12 #define CEPH_FEATURE_MONNAMES       (1<<5)
13 #define CEPH_FEATURE_RECONNECT_SEQ  (1<<6)
14 #define CEPH_FEATURE_DIRLAYOUTHASH  (1<<7)
15 /* bits 8-17 defined by user-space; not supported yet here */
16 #define CEPH_FEATURE_CRUSH_TUNABLES (1<<18)
17 
18 /*
19  * Features supported.
20  */
21 #define CEPH_FEATURES_SUPPORTED_DEFAULT  \
22 	(CEPH_FEATURE_NOSRCADDR |	 \
23 	 CEPH_FEATURE_CRUSH_TUNABLES)
24 
25 #define CEPH_FEATURES_REQUIRED_DEFAULT   \
26 	(CEPH_FEATURE_NOSRCADDR)
27 #endif
28