forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Alex Elder <[email protected]> Reviewed-by: Yehuda Sadeh <[email protected]>
- Loading branch information
Sage Weil
committed
Jul 30, 2012
1 parent
d1f57ea
commit 1fe60e5
Showing
6 changed files
with
29 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters