]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix purging snapshotted stray inode
authorYan, Zheng <zyan@redhat.com>
Tue, 10 Mar 2015 11:13:30 +0000 (19:13 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 18 Mar 2015 06:25:44 +0000 (14:25 +0800)
commit1bb4a9df6011e33de5ece7189a4c129a959ab023
treef4645301f3c9f6ff08516ed58ee1cd3aa789d32e
parent7f2ddf598e5bbac975824705beab5653b5c5d1dd
mds: fix purging snapshotted stray inode

If stray inode has no snapshot data, it's OK to purge it even if
it's still referenced by some snapsthots. This is because seperate
snap inodes were created for snapshots.

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