]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: tweak merge/split counters
authorJohn Spray <john.spray@redhat.com>
Wed, 16 Nov 2016 22:05:22 +0000 (22:05 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 24 Nov 2016 10:26:34 +0000 (10:26 +0000)
commit8d5cb931afb3f56788bf5c635ca956fddcb2dffe
treeaa695b3ead8be0aa4f1d00bf24455c712c09febb
parent6c1439bc7af319a4a9536d925f61bb8802c2fe4e
mds: tweak merge/split counters

Increment these when we have finished splitting
or merging, not partway through the process.

This makes testing more deterministic: once I've seen
the counter increment, I'm sure that the children
no longer have STATE_FRAGMENTING set as a result of
their parent's split-in-progress.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/CDir.cc
src/mds/MDCache.cc