diff options
author | Sage Weil <sage@newdream.net> | 2009-12-23 12:30:21 -0500 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-12-23 12:30:21 -0500 |
commit | 04a419f908b5291ff7e8ffd7aa351fa0ac0c08af (patch) | |
tree | 2e634bdca766c27b88280ab5c1ce067f47ffe536 /fs/ceph/ceph_fs.h | |
parent | 6df058c025ce343052c5516b1d8a9a7e73cddd64 (diff) |
ceph: add feature bits to connection handshake (protocol change)
Define supported and required feature set. Fail connection if the server
requires features we do not support (TAG_FEATURES), or if the server does
not support features we require.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ceph_fs.h')
-rw-r--r-- | fs/ceph/ceph_fs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ceph/ceph_fs.h b/fs/ceph/ceph_fs.h index e87dfa6ec8e5..db3fed33c4aa 100644 --- a/fs/ceph/ceph_fs.h +++ b/fs/ceph/ceph_fs.h | |||
@@ -50,6 +50,12 @@ | |||
50 | #define CEPH_MAX_MON 31 | 50 | #define CEPH_MAX_MON 31 |
51 | 51 | ||
52 | 52 | ||
53 | /* | ||
54 | * feature bits | ||
55 | */ | ||
56 | #define CEPH_FEATURE_SUPPORTED 0 | ||
57 | #define CEPH_FEATURE_REQUIRED 0 | ||
58 | |||
53 | 59 | ||
54 | /* | 60 | /* |
55 | * ceph_file_layout - describe data layout for a file/inode | 61 | * ceph_file_layout - describe data layout for a file/inode |