11fe60e51SSage Weil #ifndef __CEPH_FEATURES 21fe60e51SSage Weil #define __CEPH_FEATURES 31fe60e51SSage Weil 41fe60e51SSage Weil /* 51fe60e51SSage Weil * feature bits 61fe60e51SSage Weil */ 71fe60e51SSage Weil #define CEPH_FEATURE_UID (1<<0) 81fe60e51SSage Weil #define CEPH_FEATURE_NOSRCADDR (1<<1) 91fe60e51SSage Weil #define CEPH_FEATURE_MONCLOCKCHECK (1<<2) 101fe60e51SSage Weil #define CEPH_FEATURE_FLOCK (1<<3) 111fe60e51SSage Weil #define CEPH_FEATURE_SUBSCRIBE2 (1<<4) 121fe60e51SSage Weil #define CEPH_FEATURE_MONNAMES (1<<5) 131fe60e51SSage Weil #define CEPH_FEATURE_RECONNECT_SEQ (1<<6) 141fe60e51SSage Weil #define CEPH_FEATURE_DIRLAYOUTHASH (1<<7) 151fe60e51SSage Weil 161fe60e51SSage Weil /* 171fe60e51SSage Weil * Features supported. 181fe60e51SSage Weil */ 191fe60e51SSage Weil #define CEPH_FEATURES_SUPPORTED_DEFAULT \ 201fe60e51SSage Weil (CEPH_FEATURE_NOSRCADDR) 211fe60e51SSage Weil 221fe60e51SSage Weil #define CEPH_FEATURES_REQUIRED_DEFAULT \ 231fe60e51SSage Weil (CEPH_FEATURE_NOSRCADDR) 241fe60e51SSage Weil #endif 25