ceph: clean up on forwarded aborted mds request
authorSage Weil <sage@newdream.net>
Fri, 28 May 2010 23:43:16 +0000 (16:43 -0700)
committerSage Weil <sage@newdream.net>
Sat, 29 May 2010 16:42:05 +0000 (09:42 -0700)
commit2a8e5e3637e2fc058798f5d3626f525729ffaaaf
treefc35ac8b29813050cf5199574646106da171a88f
parent79494d1b9b92259eb40ea6e939ba5aff4b8de5f1
ceph: clean up on forwarded aborted mds request

If an mds request is aborted (timeout, SIGKILL), it is left registered to
keep our state in sync with the mds.  If we get a forward notification,
though, we know the request didn't succeed and we can unregister it
safely.  We were trying to resend it, but then bailing out (and not
unregistering) in __do_request.

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