ceph: cleanup aborted requests when re-sending requests.
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 26 Sep 2013 06:25:36 +0000 (14:25 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 15 Feb 2014 19:20:11 +0000 (19:20 +0000)
commitb072f9cad8d6d04fea08d3aafc88e4d9e2d95959
tree20e933a1b30abf0014924ca03b816a8587be9903
parent7f4d246009352e5c95a472fdf3fb28fb8a8bd414
ceph: cleanup aborted requests when re-sending requests.

commit eb1b8af33c2e42a9a57fc0a7588f4a7b255d2e79 upstream.

Aborted requests usually get cleared when the reply is received.
If MDS crashes, no reply will be received. So we need to cleanup
aborted requests when re-sending requests.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/ceph/mds_client.c