]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: avoid submitting log entry while adjusting subtree map
authorYan, Zheng <zyan@redhat.com>
Fri, 9 Jun 2017 07:37:22 +0000 (15:37 +0800)
committerJohn Spray <john.spray@redhat.com>
Fri, 23 Jun 2017 16:07:32 +0000 (17:07 +0100)
commit34988c3799df42d8ff79c6b0d10b9e62a6f21fef
treea13e4980219e974442aca985d32308fcda3efaa6
parent4f43737df882ce38d3977af2e82a0594f4c5bfe8
mds: avoid submitting log entry while adjusting subtree map

MDCache::eval_subtree_root() may tigger scatter-gather process, which
submits log entry. Submitting log entry while adjusting subtree map is
bad, because subtree map in intermediate state may get used/logged.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc
src/mds/journal.cc