]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49bb32d67846de0a13fb4467064d5293ccf0d0e4
tree09112335af82c7ce01d93caa55567341f9468c3f
parent580ff0a54218ccf9b7ce517b141c5618921dc189
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