]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OpRequest: reset connection upon unregister
authorKefu Chai <kchai@redhat.com>
Fri, 13 May 2016 03:26:31 +0000 (11:26 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 17 May 2016 04:45:06 +0000 (12:45 +0800)
commit87850e96ea6fa45a8368bacabee50f9e95b40ae9
treeea34a5298724c9fafd45a21dbb4db563f35718b1
parent30af2cd071c91be1877ce226470af4f87dd4b358
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>
src/osd/OpRequest.cc