From: Alex Elder Date: Wed, 23 May 2012 19:35:23 +0000 (-0500) Subject: libceph: define and use an explicit CONNECTED state X-Git-Tag: v3.6-rc1~36^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e27947c767f5bed15048f4e4dad3e2eb69133697;p=pandora-kernel.git libceph: define and use an explicit CONNECTED state There is no state explicitly defined when a ceph connection is fully operational. So define one. It's set when the connection sequence completes successfully, and is cleared when the connection gets closed. Be a little more careful when examining the old state when a socket disconnect event is reported. Signed-off-by: Alex Elder Reviewed-by: Sage Weil --- Reading git-diff-tree failed