]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
libceph: implement RECONNECT_SEQ feature
authorSage Weil <sage@inktank.com>
Mon, 25 Mar 2013 15:47:40 +0000 (08:47 -0700)
committerSage Weil <sage@inktank.com>
Mon, 25 Mar 2013 15:48:29 +0000 (08:48 -0700)
commita66ad08866f7f4f73f120b88b99b0d89c863f44f
tree0b40e6a0d5a4aaa967eac5399a68489f4161fd7d
parent06fb6a9f87bb1377a6549602fff230d4b352afe9
libceph: implement RECONNECT_SEQ feature

This is an old protocol extension that allows the client and server to
avoid resending old messages after a reconnect (following a socket error).
Instead, the exchange their sequence numbers during the handshake.  This
avoids sending a bunch of useless data over the socket.

It has been supported in the server code since v0.22 (Sep 2010).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
include/linux/ceph/ceph_features.h
include/linux/ceph/msgr.h
net/ceph/messenger.c