ceph: revoke osd request message on request completion
authorSage Weil <sage@newdream.net>
Thu, 8 Oct 2009 23:57:16 +0000 (16:57 -0700)
committerSage Weil <sage@newdream.net>
Fri, 9 Oct 2009 18:58:07 +0000 (11:58 -0700)
commit0ba6478df7c6bef0f4b2625554545f941f89fb97
tree2b99864e80174ab56cb0d0b42669e45e2c9d86cd
parentc1ea8823be69ebebaface912142190e910711984
ceph: revoke osd request message on request completion

If an osd has failed or returned and a request has been sent twice, it's
possible to get a reply and unregister the request while the request
message is queued for delivery.  Since the message references the caller's
page vector, we need to revoke it before completing.

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