From: Sage Weil Date: Mon, 5 Jul 2010 19:15:14 +0000 (-0700) Subject: ceph: fix message revocation X-Git-Tag: v2.6.35-rc6~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed98adad3d87594c55347824e85137d1829c9e70;p=pandora-kernel.git ceph: fix message revocation A message can be on a queue (pending or sent), or out_msg (sending), or both. We were assuming that if it's not on a queue it couldn't be out_msg, but that was false in the case of lossy connections like the OSD. Fix ceph_con_revoke() to treat these cases independently. Also, fix the out_kvec_is_message check to only trigger if we are currently sending _this_ message. This fixes a GPF in tcp_sendpage, triggered by OSD restarts. Signed-off-by: Sage Weil --- Reading git-diff-tree failed