ceph: cancel osd requests before resending them
authorSage Weil <sage@newdream.net>
Fri, 9 Oct 2009 17:31:32 +0000 (10:31 -0700)
committerSage Weil <sage@newdream.net>
Fri, 9 Oct 2009 18:58:20 +0000 (11:58 -0700)
commit266673db423e6ab247170d6c6d72ec36e530a911
treed86b9d3b3e34fbf2dcc64b21d73145fd962237ac
parent81b024e70fed635a2cf5a4bf911db1649bb005f5
ceph: cancel osd requests before resending them

This ensures we don't submit the same request twice if we are kicking a
specific osd (as with an osd_reset), or when we hit a transient error and
resend.

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