]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: properly invalidate past child snaprealms
authorYan, Zheng <zyan@redhat.com>
Mon, 18 May 2015 09:25:58 +0000 (17:25 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 19 May 2015 07:47:17 +0000 (15:47 +0800)
commitde8b9583d377c7fd8c7760f2ef8ea74f5fc045a8
treee1a4c898fa47b1da7b5cc573d1380cd6c2fd858a
parent55766865bd51a3983514e163d67a5a81ce1120cf
mds: properly invalidate past child snaprealms

After updating an existing snapshot or deleting an old snapshot,
we should invalidate past child snaprealms' cached snap set and
snap context.

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