]> 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)
commit8f513f166bd40fad2a44b67f5a4e150d8a4c21ec
tree09112335af82c7ce01d93caa55567341f9468c3f
parentb3bb4208d8adef42da3af61be4626701167b4e0b
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