]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/OpTracker: don't dump ops if tracking is not enabled
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Mon, 30 Mar 2015 06:41:21 +0000 (14:41 +0800)
committerDavid Zafman <dzafman@redhat.com>
Mon, 21 Nov 2016 19:40:03 +0000 (11:40 -0800)
commitb58873efafabdc9791f500cff77be9a0a7002227
tree44db24c9b1e9a87cf9ef80aa9116538c3d4eb5c2
parent24c92fea4bc68a27a240155f48ee5fa4ee3bbfa0
common/OpTracker: don't dump ops if tracking is not enabled

If tracking is disabled, there is nothing to dump. No need to go through
each sharded list. This is true for both in flight and historical ops.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
(cherry picked from commit ec3c40952bbc4b495875e08b57d764a7487c6c09)
src/mds/MDS.cc
src/osd/OSD.cc