]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: journal snap inodes that need flush when expiring log segment
authorYan, Zheng <zyan@redhat.com>
Tue, 21 Jun 2016 09:17:56 +0000 (17:17 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 15 Jul 2016 01:11:49 +0000 (09:11 +0800)
commit306153b3d012832bdfa20402077fa60a9a5d626c
treec61e771038114c58bc86977713f858edb79da641
parent4883779935219817c7e391940a025be1679daeb5
mds: journal snap inodes that need flush when expiring log segment

Treat snap inodes that need flush in the same way as open files.
When MDS recovers, this make sure that journal replay bring snap
inodes that need flush into the cache

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/CInode.h
src/mds/Locker.cc
src/mds/MDCache.cc
src/mds/events/EMetaBlob.h
src/mds/events/EOpen.h
src/mds/journal.cc