]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: detach unlinked inode's snaprealm from its parent
authorYan, Zheng <zyan@redhat.com>
Fri, 18 Aug 2017 11:05:51 +0000 (19:05 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 4 Dec 2017 04:02:54 +0000 (12:02 +0800)
commit5d4b4404306cd60a5e6c7f292296ee66fd5eeafd
treed5cd3f1f5a66c837c5f9b7135273f67c076f627b
parentda12abbd0f07fe05dbdf4c0971a5a1fffbd03b4b
mds: detach unlinked inode's snaprealm from its parent

When replaying slave update, inode may gets unlinked, but preserved
in memory in case of rollback. In this case, we need to detach the
inode's snaprealm from its parent.

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