]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: attach inode with multiple hardlinks to dummy global snaprealm
authorYan, Zheng <zyan@redhat.com>
Thu, 26 Oct 2017 07:32:29 +0000 (15:32 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 9 Feb 2018 10:42:28 +0000 (18:42 +0800)
commit0f31d49de20bd40836dceebb06e12763a1def5e0
treec753c5fe015632c5297b37ea9d67ca0ca38c012d
parenta9c3664304544ac66d3b9f0532b4dfb066e09ec9
mds: attach inode with multiple hardlinks to dummy global snaprealm

The dummy global snaprealm includes all snapshots in the filesystem.
For any later snapshot, mds will COW the inode and preserve snap data.
These snap data will cover any possible snapshot on remote linkages
of the inode.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
14 files changed:
src/mds/CInode.cc
src/mds/CInode.h
src/mds/MDCache.cc
src/mds/MDCache.h
src/mds/MDSRank.cc
src/mds/Server.cc
src/mds/Server.h
src/mds/SnapRealm.cc
src/mds/SnapRealm.h
src/mds/events/ESlaveUpdate.h
src/mds/journal.cc
src/mds/mdstypes.h
src/mds/snap.cc
src/mds/snap.h