libceph: start separating connection flags from state
authorAlex Elder <elder@inktank.com>
Tue, 22 May 2012 16:41:43 +0000 (11:41 -0500)
committerAlex Elder <elder@dreamhost.com>
Fri, 1 Jun 2012 13:37:56 +0000 (08:37 -0500)
commit928443cd9644e7cfd46f687dbeffda2d1a357ff9
tree09112335af82c7ce01d93caa55567341f9468c3f
parent15d9882c336db2db73ccf9871ae2398e452f694c
libceph: start separating connection flags from state

A ceph_connection holds a mixture of connection state (as in "state
machine" state) and connection flags in a single "state" field.  To
make the distinction more clear, define a new "flags" field and use
it rather than the "state" field to hold Boolean flag values.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil<sage@inktank.com>
include/linux/ceph/messenger.h
net/ceph/messenger.c