]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: simplify journaled subtree_map
authorSage Weil <sage@newdream.net>
Wed, 20 Jul 2011 19:46:19 +0000 (12:46 -0700)
committerSage Weil <sage@newdream.net>
Wed, 20 Jul 2011 19:49:02 +0000 (12:49 -0700)
commit8692ed7df758b7d220a2760c4c685e6071c8914d
treefb5b9b07ffb50f266d08952ff2166dc5490eb889
parenta3e47311b5422526a738aec59b53a97d92d19dbd
mds: simplify journaled subtree_map

We may have subtrees split locally due to migrations that are just getting
started or stopped.  Simplify the map we journal to disk.  Among other
things this makes the replay check simple (it can compare against the
current "live" map).

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/MDCache.cc