diff options
author | Alex Elder <elder@inktank.com> | 2012-05-23 21:35:23 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-06 06:14:26 +0200 |
commit | 3ec50d1868a9e0493046400bb1fdd054c7f64ebd (patch) | |
tree | f5a5dbab32b5205f07aa4867a32e4b7bcd823e16 /drivers | |
parent | libceph: clear CONNECTING in ceph_con_close() (diff) | |
download | linux-3ec50d1868a9e0493046400bb1fdd054c7f64ebd.tar.xz linux-3ec50d1868a9e0493046400bb1fdd054c7f64ebd.zip |
libceph: clear NEGOTIATING when done
A connection state's NEGOTIATING bit gets set while in CONNECTING
state after we have successfully exchanged a ceph banner and IP
addresses with the connection's peer (the server). But that bit
is not cleared again--at least not until another connection attempt
is initiated.
Instead, clear it as soon as the connection is fully established.
Also, clear it when a socket connection gets prematurely closed
in the midst of establishing a ceph connection (in case we had
reached the point where it was set).
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions