1 #ifndef __CEPH_FEATURES
2 #define __CEPH_FEATURES
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 #define CEPH_FEATURE_OBJECTLOCATOR (1<<8)
16 #define CEPH_FEATURE_PGID64 (1<<9)
17 #define CEPH_FEATURE_INCSUBOSDMAP (1<<10)
18 #define CEPH_FEATURE_PGPOOL3 (1<<11)
19 #define CEPH_FEATURE_OSDREPLYMUX (1<<12)
20 #define CEPH_FEATURE_OSDENC (1<<13)
21 #define CEPH_FEATURE_OMAP (1<<14)
22 #define CEPH_FEATURE_MONENC (1<<15)
23 #define CEPH_FEATURE_QUERY_T (1<<16)
24 #define CEPH_FEATURE_INDEP_PG_MAP (1<<17)
25 #define CEPH_FEATURE_CRUSH_TUNABLES (1<<18)
26 #define CEPH_FEATURE_CHUNKY_SCRUB (1<<19)
27 #define CEPH_FEATURE_MON_NULLROUTE (1<<20)
28 #define CEPH_FEATURE_MON_GV (1<<21)
29 #define CEPH_FEATURE_BACKFILL_RESERVATION (1<<22)
30 #define CEPH_FEATURE_MSG_AUTH (1<<23)
31 #define CEPH_FEATURE_RECOVERY_RESERVATION (1<<24)
32 #define CEPH_FEATURE_CRUSH_TUNABLES2 (1<<25)
33 #define CEPH_FEATURE_CREATEPOOLID (1<<26)
34 #define CEPH_FEATURE_REPLY_CREATE_INODE (1<<27)
35 #define CEPH_FEATURE_OSD_HBMSGS (1<<28)
36 #define CEPH_FEATURE_MDSENC (1<<29)
37 #define CEPH_FEATURE_OSDHASHPSPOOL (1<<30)
42 #define CEPH_FEATURES_SUPPORTED_DEFAULT \
43 (CEPH_FEATURE_NOSRCADDR | \
44 CEPH_FEATURE_RECONNECT_SEQ | \
45 CEPH_FEATURE_PGID64 | \
46 CEPH_FEATURE_PGPOOL3 | \
47 CEPH_FEATURE_OSDENC | \
48 CEPH_FEATURE_CRUSH_TUNABLES | \
49 CEPH_FEATURE_CRUSH_TUNABLES2 | \
50 CEPH_FEATURE_REPLY_CREATE_INODE | \
51 CEPH_FEATURE_OSDHASHPSPOOL)
53 #define CEPH_FEATURES_REQUIRED_DEFAULT \
54 (CEPH_FEATURE_NOSRCADDR | \
55 CEPH_FEATURE_RECONNECT_SEQ | \
56 CEPH_FEATURE_PGID64 | \
57 CEPH_FEATURE_PGPOOL3 | \