diff options
author | Sage Weil <sage@inktank.com> | 2012-07-30 16:23:22 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-30 16:23:22 -0700 |
commit | 1fe60e51a3744528f3939b1b1167ca909133d9ae (patch) | |
tree | 06ca8731f1be425ffbd6ffcdfd9e94b89b05ceec /include/linux/ceph/ceph_features.h | |
parent | d1f57ea66369b5c34bd42f104b8070db409447f9 (diff) |
libceph: move feature bits to separate header
This is simply cleanup that will keep things more closely synced with the
userland code.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'include/linux/ceph/ceph_features.h')
-rw-r--r-- | include/linux/ceph/ceph_features.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/ceph/ceph_features.h b/include/linux/ceph/ceph_features.h new file mode 100644 index 00000000000..342f93dbe16 --- /dev/null +++ b/include/linux/ceph/ceph_features.h @@ -0,0 +1,24 @@ +#ifndef __CEPH_FEATURES +#define __CEPH_FEATURES + +/* + * feature bits + */ +#define CEPH_FEATURE_UID (1<<0) +#define CEPH_FEATURE_NOSRCADDR (1<<1) +#define CEPH_FEATURE_MONCLOCKCHECK (1<<2) +#define CEPH_FEATURE_FLOCK (1<<3) +#define CEPH_FEATURE_SUBSCRIBE2 (1<<4) +#define CEPH_FEATURE_MONNAMES (1<<5) +#define CEPH_FEATURE_RECONNECT_SEQ (1<<6) +#define CEPH_FEATURE_DIRLAYOUTHASH (1<<7) + +/* + * Features supported. + */ +#define CEPH_FEATURES_SUPPORTED_DEFAULT \ + (CEPH_FEATURE_NOSRCADDR) + +#define CEPH_FEATURES_REQUIRED_DEFAULT \ + (CEPH_FEATURE_NOSRCADDR) +#endif |