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)
committerSage Weil <sage@inktank.com>
Sat, 23 Nov 2013 19:01:04 +0000 (11:01 -0800)
commiteb1b8af33c2e42a9a57fc0a7588f4a7b255d2e79
treebfcabbe9697759b719e6b4b49b99e02e8e8de030
parent99a9c273b94a087f8feaec6c5ffbe3205a2dbe51
ceph: cleanup aborted requests when re-sending requests.

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>
fs/ceph/mds_client.c