ceph: fix ack counter reset on connection reset
authorSage Weil <sage@newdream.net>
Fri, 2 Apr 2010 23:07:19 +0000 (16:07 -0700)
committerSage Weil <sage@newdream.net>
Fri, 2 Apr 2010 23:07:19 +0000 (16:07 -0700)
commit0e0d5e0c4bb0476d53a43bfc87d03a25ec4b5579
tree66013a33ad1f46b258d55289adf12cac463d43f9
parent819ccbfa448403992ceafc05d6d7097aaa74d4c3
ceph: fix ack counter reset on connection reset

If in_seq_acked isn't reset along with in_seq, we don't ack received
messages until we reach the old count, consuming gobs memory on the other
end of the connection and introducing a large delay when those messages
are eventually deleted.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/messenger.c