aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/messenger.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-02-26 16:55:51 -0500
committerSage Weil <sage@newdream.net>2010-03-01 18:19:51 -0500
commit1679f876a641d209e7b22e43ebda0693c71003cf (patch)
tree6cb4ba61dac343c093d7a428c48a2bb7619f0a31 /fs/ceph/messenger.h
parent080af17e9c6360c5a835528e8de3141a46273ed2 (diff)
ceph: reset bits on connection close
Clear LOSSYTX bit, so that if/when we reconnect, said reconnect will retry on failure. Clear _PENDING bits too, to avoid polluting subsequent connection state. Drop unused REGISTERED bit. 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, 0 insertions, 1 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h
index c9735378be3f..4caaa5911110 100644
--- a/fs/ceph/messenger.h
+++ b/fs/ceph/messenger.h
@@ -119,7 +119,6 @@ struct ceph_msg_pos {
119 * state with the peer. */ 119 * state with the peer. */
120#define CLOSED 10 /* we've closed the connection */ 120#define CLOSED 10 /* we've closed the connection */
121#define SOCK_CLOSED 11 /* socket state changed to closed */ 121#define SOCK_CLOSED 11 /* socket state changed to closed */
122#define REGISTERED 12 /* connection appears in con_tree */
123#define OPENING 13 /* open connection w/ (possibly new) peer */ 122#define OPENING 13 /* open connection w/ (possibly new) peer */
124#define DEAD 14 /* dead, about to kfree */ 123#define DEAD 14 /* dead, about to kfree */
125 124