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>
Thu, 2 May 2013 04:17:09 +0000 (21:17 -0700)
commit3a23083bda56850a1dc0e1c6d270b1f5dc789f07
treeddd52f6a7c8da4334d68ae3e28825d89155d29a0
parent022f3e2ee2354599faccf5a764a5a24a5dd194c9
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