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>
This commit is contained in:
Alex Elder 2012-05-22 11:41:43 -05:00 • committed by Alex Elder
commit 928443cd96
2 changed files with 37 additions and 31 deletions