libceph: cleanup old messages according to reconnect seq
authorYan, Zheng <zyan@redhat.com>
Fri, 5 May 2017 10:47:37 +0000 (18:47 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 24 May 2017 16:10:51 +0000 (18:10 +0200)
commit0a2ad541071f99eaf4589c3551176fca191c1ee2
treefbd9e51e711507478de1f4e4e59de34035a34639
parent293dffaad8d500e1a5336eeb90d544cf40d4fbd8
libceph: cleanup old messages according to reconnect seq

when reopen a connection, use 'reconnect seq' to clean up
messages that have already been received by peer.

Link: http://tracker.ceph.com/issues/18690
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/messenger.c