2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/include/linux/ceph
Sage Weil 8dacc7da69 libceph: replace connection state bits with states
Use a simple set of 6 enumerated values for the socket states (CON_STATE_*)
and use those instead of the state bits.  All of the con->state checks are
now under the protection of the con mutex, so this is safe.  It also
simplifies many of the state checks because we can check for anything other
than the expected state instead of various bits for races we can think of.

This appears to hold up well to stress testing both with and without socket
failure injection on the server side.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-30 18:16:00 -07:00
..
auth.h ceph: messenger: reduce args to create_authorizer 2012-05-17 08:18:12 -05:00
buffer.h
ceph_debug.h
ceph_features.h libceph: support crush tunables 2012-07-30 18:15:23 -07:00
ceph_frag.h
ceph_fs.h libceph: move feature bits to separate header 2012-07-30 16:23:22 -07:00
ceph_hash.h
debugfs.h
decode.h libceph: define ceph_extract_encoded_string() 2012-07-30 09:29:57 -07:00
libceph.h ceph: define snap counts as u32 everywhere 2012-07-30 18:15:47 -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: replace connection state bits with states 2012-07-30 18:16:00 -07:00
mon_client.h libceph: embed ceph connection structure in mon_client 2012-06-06 09:23:54 -05:00
msgpool.h libceph: initialize msgpool message types 2012-07-30 09:29:50 -07:00
msgr.h
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
rados.h ceph: update common header files 2011-03-21 12:24:21 -07:00
types.h