]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: refactor remove_subtree
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 5 Jun 2020 01:58:10 +0000 (18:58 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 24 Jun 2020 22:43:31 +0000 (15:43 -0700)
commit747687f5dec8adc86abafb367275373bb44d96e9
tree5e082389b2da6d1f9270e8d66abc5bde632475d6
parent4749e5abb16a38b34ed63d11dbcd8bf3831b3f13
mds: refactor remove_subtree

Search each map only once as necessary.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/MDCache.cc