diff options
| author | Avi Kivity <avi@redhat.com> | 2012-08-05 06:25:10 -0400 |
|---|---|---|
| committer | Avi Kivity <avi@redhat.com> | 2012-08-05 06:25:10 -0400 |
| commit | fe56097b23b1303b894eefd91582e4a64247d03f (patch) | |
| tree | 4b3ab60eb19e8cfe2884e2da66dd4e4e25ae2274 /include/linux/ceph/ceph_features.h | |
| parent | e115676e042f4d9268c6b6d8cb7dc962aa6cfd7d (diff) | |
| parent | e7882d6c40874a5b5033ca85f7508a602a60b662 (diff) | |
Merge remote-tracking branch 'upstream' into next
- bring back critical fixes (esp. aa67f6096c19bc)
- provide an updated base for development
* upstream: (4334 commits)
missed mnt_drop_write() in do_dentry_open()
UBIFS: nuke pdflush from comments
gfs2: nuke pdflush from comments
drbd: nuke pdflush from comments
nilfs2: nuke write_super from comments
hfs: nuke write_super from comments
vfs: nuke pdflush from comments
jbd/jbd2: nuke write_super from comments
btrfs: nuke pdflush from comments
btrfs: nuke write_super from comments
ext4: nuke pdflush from comments
ext4: nuke write_super from comments
ext3: nuke write_super from comments
Documentation: fix the VM knobs descritpion WRT pdflush
Documentation: get rid of write_super
vfs: kill write_super and sync_supers
ACPI processor: Fix tick_broadcast_mask online/offline regression
ACPI: Only count valid srat memory structures
ACPI: Untangle a return statement for better readability
Linux 3.6-rc1
...
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/ceph/ceph_features.h')
| -rw-r--r-- | include/linux/ceph/ceph_features.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/linux/ceph/ceph_features.h b/include/linux/ceph/ceph_features.h new file mode 100644 index 000000000000..dad579b0c0e6 --- /dev/null +++ b/include/linux/ceph/ceph_features.h | |||
| @@ -0,0 +1,27 @@ | |||
| 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 | ||
