]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: start resolve with root as UNKNOWN (if it's not ours)
authorSage Weil <sage@newdream.net>
Tue, 4 Aug 2009 04:34:15 +0000 (21:34 -0700)
committerSage Weil <sage@newdream.net>
Tue, 4 Aug 2009 22:33:36 +0000 (15:33 -0700)
commit2c49cc3f2523ad7fafd36916d7a3c6a3765aa536
tree7d6c0d4a93b9750ff6fe6f601ed8f19545bbf6c5
parentf663a3f04e811a46ac3225caae7dcd592b3c10e4
mds: start resolve with root as UNKNOWN (if it's not ours)

Anything that's not ours should be unknown, including the root dir frag,
which normally starts out as mds0.

If we leave it as 0, then when mds0 claims a subset of /, its bounds are
left as 0 as well instead of being set to unknown.  Which leads to
incorrect resolve stage results.
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDS.cc