ceph: reset bits on connection close
authorSage Weil <sage@newdream.net>
Fri, 26 Feb 2010 21:55:51 +0000 (13:55 -0800)
committerSage Weil <sage@newdream.net>
Mon, 1 Mar 2010 23:19:51 +0000 (15:19 -0800)
commit1679f876a641d209e7b22e43ebda0693c71003cf
tree6cb4ba61dac343c093d7a428c48a2bb7619f0a31
parent080af17e9c6360c5a835528e8de3141a46273ed2
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>
fs/ceph/messenger.c
fs/ceph/messenger.h