diff options
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/messenger.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index 920235e114ad..5e852f444f68 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
@@ -137,14 +137,18 @@ struct ceph_connection { | |||
137 | const struct ceph_connection_operations *ops; | 137 | const struct ceph_connection_operations *ops; |
138 | 138 | ||
139 | struct ceph_messenger *msgr; | 139 | struct ceph_messenger *msgr; |
140 | |||
141 | atomic_t sock_state; | ||
140 | struct socket *sock; | 142 | struct socket *sock; |
143 | struct ceph_entity_addr peer_addr; /* peer address */ | ||
144 | struct ceph_entity_addr peer_addr_for_me; | ||
145 | |||
141 | unsigned long flags; | 146 | unsigned long flags; |
142 | unsigned long state; | 147 | unsigned long state; |
143 | const char *error_msg; /* error message, if any */ | 148 | const char *error_msg; /* error message, if any */ |
144 | 149 | ||
145 | struct ceph_entity_addr peer_addr; /* peer address */ | ||
146 | struct ceph_entity_name peer_name; /* peer name */ | 150 | struct ceph_entity_name peer_name; /* peer name */ |
147 | struct ceph_entity_addr peer_addr_for_me; | 151 | |
148 | unsigned peer_features; | 152 | unsigned peer_features; |
149 | u32 connect_seq; /* identify the most recent connection | 153 | u32 connect_seq; /* identify the most recent connection |
150 | attempt for this connection, client */ | 154 | attempt for this connection, client */ |