]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OpRequest: reset connection upon unregister 9100/head
authorKefu Chai <kchai@redhat.com>
Fri, 13 May 2016 03:26:31 +0000 (11:26 +0800)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Thu, 26 May 2016 16:28:21 +0000 (21:58 +0530)
commit8bbb5add6208a552979270baf4623430cf45e1b3
tree0154bc883c15f2a6591d110f72231e6b97666e1c
parente97cc2d1e9bcee0a43f54ed592d3078182571874
osd/OpRequest: reset connection upon unregister

this helps to free the resources referenced by the connection, among
other things, in the case of MOSDOp, the OSD::Session and OSDMap. this
helps to free the resource earlier and trim the osdmaps in time.

Fixes: http://tracker.ceph.com/issues/13990
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 87850e96ea6fa45a8368bacabee50f9e95b40ae9)
src/osd/OpRequest.cc