]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: be careful about calls to try_subtree_merge
authorSage Weil <sage.weil@dreamhost.com>
Mon, 25 Jul 2011 05:08:13 +0000 (22:08 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Mon, 25 Jul 2011 05:08:13 +0000 (22:08 -0700)
commitd32e5d3372b14090257bfc359513393748283ad2
tree90a5b457b2cc4037f92778e9461f6b8677e35563
parent1f077a0103570e0a2f724abee7b68ebfd0190c0b
mds: be careful about calls to try_subtree_merge

try_subtree_merge will, on occasion, journal something.  And anytime we
journal something we may open a new segment and journal an ESubtreeMap.
That means we subtree state needs to be consistent with any in-progress
or finishing migrations.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mds/Migrator.cc