]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: don't run all of try_subtree_merge on a rename across MDSes.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Mon, 11 Apr 2011 23:57:50 +0000 (16:57 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Sun, 17 Apr 2011 04:03:37 +0000 (21:03 -0700)
commita028c8954ca240ec9a12682678aaee02eb507ae3
tree3eec67c47ee5b4398253627885b14d15f7944c8a
parent6250e82c00bef28df699f241b52995c11d350f6e
mds: don't run all of try_subtree_merge on a rename across MDSes.

Previously we'd try and do the whole thing, which meant that
the replica got a lock twiddle before it had finished the export.
That broke things spectacularly, since we weren't respecting our
invariants about who gets remote locking messages.
Now we pass through a flag and respect our invariants.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/Server.cc