aboutsummaryrefslogtreecommitdiff
path: root/net/can
diff options
context:
space:
mode:
authorAlex Elder2012-05-24 11:55:03 -0500
committerSage Weil2012-07-05 21:14:30 -0700
commit7593af920baac37752190a0db703d2732bed4a3b (patch)
treef660bc222db9b74305b8a2b8cc25d508bd0596a5 /net/can
parentab166d5aa3bc036fba7efaca6e4e43a7e9510acf (diff)
libceph: distinguish two phases of connect sequence
Currently a ceph connection enters a "CONNECTING" state when it begins the process of (re-)connecting with its peer. Once the two ends have successfully exchanged their banner and addresses, an additional NEGOTIATING bit is set in the ceph connection's state to indicate the connection information exhange has begun. The CONNECTING bit/state continues to be set during this phase. Rather than have the CONNECTING state continue while the NEGOTIATING bit is set, interpret these two phases as distinct states. In other words, when NEGOTIATING is set, clear CONNECTING. That way only one of them will be active at a time. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions