OpenCloudOS-Kernel/include/linux/ceph
Sage Weil 5bdca4e076 libceph: fix messenger retry
In ancient times, the messenger could both initiate and accept connections.
An artifact if that was data structures to store/process an incoming
ceph_msg_connect request and send an outgoing ceph_msg_connect_reply.
Sadly, the negotiation code was referencing those structures and ignoring
important information (like the peer's connect_seq) from the correct ones.

Among other things, this fixes tight reconnect loops where the server sends
RETRY_SESSION and we (the client) retries with the same connect_seq as last
time.  This bug pretty easily triggered by injecting socket failures on the
MDS and running some fs workload like workunits/direct_io/test_sync_io.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-17 19:35:59 -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_frag.h
ceph_fs.h ceph: drop support for preferred_osd pgs 2012-05-07 15:33:36 -07:00
ceph_hash.h
debugfs.h
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 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2012-03-28 10:01:29 -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: fix messenger retry 2012-07-17 19:35:59 -07:00
mon_client.h
msgpool.h
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