]> git.baikalelectronics.ru Git - kernel.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>
Thu, 2 May 2013 04:17:09 +0000 (21:17 -0700)
commit1007d3c0ded60395a8e8ce6e2ea7a10f83d6acc3
treeddd52f6a7c8da4334d68ae3e28825d89155d29a0
parentd5af52314a8435faa898714ed0b6d497a146c302
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