]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: invalidate lock caches when freezing dirfrag/subtree
authorYan, Zheng <zyan@redhat.com>
Mon, 30 Sep 2019 06:20:17 +0000 (14:20 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 12 Dec 2019 18:04:13 +0000 (02:04 +0800)
commit6d70cee1566d33fc6b7c128c23ba6c680c710d3a
treedb708d9f40a57afa07d300e2d3d8f6022dcd40bc
parent7f2beff8865d09c9bfa02350f214935a90476377
mds: invalidate lock caches when freezing dirfrag/subtree

Add a list to CDir, which tracks lock caches which hold auth pins on
objects in the CDir. When mds want to freeze dirfrag or subtree, it can
find lock caches and invalidate them

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/CDir.cc
src/mds/CDir.h
src/mds/CInode.h
src/mds/Locker.cc
src/mds/Locker.h
src/mds/Mutation.cc
src/mds/Mutation.h