]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: check multiversion inode when purging stray
authorYan, Zheng <zyan@redhat.com>
Fri, 19 Dec 2014 07:29:32 +0000 (15:29 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 5 Feb 2015 14:40:38 +0000 (22:40 +0800)
commit5f58c4ccfc6c9bd02c50388f28e252df45a711d5
tree3e6208193fbe016a9edfc9f93021aa7b6cfb6103
parent6cd044acdfec5d208e8932202d17e29b1e4da946
mds: check multiversion inode when purging stray

we can't purge a multiversion directory inode when it is still referenced
by some snapshots. For regular files that are still referenced by some
snapshots, we need to keep the backtrace object.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/MDCache.cc
src/mds/MDCache.h