]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: make resolve adjust dir fragmentation as needed
authorSage Weil <sage@newdream.net>
Tue, 4 Jan 2011 22:39:58 +0000 (14:39 -0800)
committerSage Weil <sage@newdream.net>
Tue, 4 Jan 2011 23:27:16 +0000 (15:27 -0800)
commita5f9a36c98243735d46aa93db9add8f4bee26103
tree7a833e300abcecd714b242cb26dab4c913f513ff
parent4c53c72627713c97a770ad77162f7d61a4e32e99
mds: make resolve adjust dir fragmentation as needed

During resolve, adjust dir fragmentation as needed based on the subtrees
the sender explicitly claims.  The given fragmentation on the root is
always valid.  Their bounds may not be; only split our frags as needed if
they happen to be partially in and partially out of the sender's bounding
fragset.

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