linux-xiaomi-chiron/include/linux/ceph
Alex Elder e27947c767 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 <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2012-07-05 21:14:27 -07:00
..
auth.h ceph: messenger: reduce args to create_authorizer 2012-05-17 08:18:12 -05:00
buffer.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_debug.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_frag.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
ceph_fs.h ceph: drop support for preferred_osd pgs 2012-05-07 15:33:36 -07:00
ceph_hash.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
decode.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2012-05-30 11:17:19 -07:00
libceph.h Linux 3.5-rc1 2012-06-15 12:32:04 -07:00
mdsmap.h BUG: headers with BUG/BUG_ON etc. need linux/bug.h 2012-03-04 17:54:34 -05:00
messenger.h libceph: define and use an explicit CONNECTED state 2012-07-05 21:14:27 -07:00
mon_client.h libceph: embed ceph connection structure in mon_client 2012-06-06 09:23:54 -05:00
msgpool.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
msgr.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
osd_client.h ceph: define ceph_auth_handshake type 2012-05-17 08:18:12 -05:00
osdmap.h ceph: drop support for preferred_osd pgs 2012-05-07 15:33:36 -07:00
pagelist.h ceph: add pagelist_reserve, pagelist_truncate, pagelist_set_cursor 2010-10-20 15:38:16 -07:00
rados.h ceph: update common header files 2011-03-21 12:24:21 -07:00
types.h ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00