]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ceph/messenger.c
ceph: fix msgr to keep sent messages until acked
authorSage Weil <sage@newdream.net>
Sun, 14 Feb 2010 04:29:31 +0000 (20:29 -0800)
committerSage Weil <sage@newdream.net>
Sun, 14 Feb 2010 04:29:31 +0000 (20:29 -0800)
commit6c5d1a49e5e88ee831117f4b2375829933ad15da
treeb96f9e7b77d7adfd763cb1089fc0e414605c361e
parent8031049147c58d9d8b6226c3ac31a9d72d053e25
ceph: fix msgr to keep sent messages until acked

The test was backwards from commit b3d1dbbd: keep the message if the
connection _isn't_ lossy.  This allows the client to continue when the
TCP connection drops for some reason (network glitch) but both ends
survive.

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