summaryrefslogtreecommitdiffstats
path: root/fs/ceph/messenger.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-05-12 15:23:30 -0700
committerSage Weil <sage@newdream.net>2010-05-17 15:25:38 -0700
commitaba558e28ac40a598542d995c09efa8439ee3ed4 (patch)
tree22df6fe65694b3ebe5a0a56dbf96c3973f3c5812 /fs/ceph/messenger.h
parentca9d93a292e327bbcddd8f8ea4197397e35097d4 (diff)
downloadlinux-aba558e28ac40a598542d995c09efa8439ee3ed4.tar.bz2
ceph: save peer feature bits in connection structure
These are used for adjusting behavior, such as conditionally encoding a newer message format. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/messenger.h')
-rw-r--r--fs/ceph/messenger.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h
index 4e5764c7fbc2..889f81f093c9 100644
--- a/fs/ceph/messenger.h
+++ b/fs/ceph/messenger.h
@@ -142,6 +142,7 @@ struct ceph_connection {
struct ceph_entity_addr peer_addr; /* peer address */
struct ceph_entity_name peer_name; /* peer name */
struct ceph_entity_addr peer_addr_for_me;
+ unsigned peer_features;
u32 connect_seq; /* identify the most recent connection
attempt for this connection, client */
u32 peer_global_seq; /* peer's global seq for this connection */