]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: try_trim_non_auth_subtree if we rename a dir away from a non-auth subtree
authorSage Weil <sage.weil@dreamhost.com>
Wed, 8 Jun 2011 20:29:21 +0000 (13:29 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Wed, 8 Jun 2011 20:29:21 +0000 (13:29 -0700)
commit5b43419c72ff7a968b2d8aa957588557361483d2
tree9a04c3316088d8ec1b5b9e84a82dab8bbfd4f0d8
parent072e80ed1c564e76786b4c77c913cf1cca549281
mds: try_trim_non_auth_subtree if we rename a dir away from a non-auth subtree

It's possible we have non-auth metadata only because we have a subtree
nested beneath. If we rename a directory out of a non-auth subtree, we
should try to trim any non-auth content from that subtree that may now
be possible due to the child subtrees being linked elsewhere.

Fixes: #1146
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mds/journal.cc