]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: auth pin stray dir when purging stray inode
authorYan, Zheng <zyan@redhat.com>
Tue, 3 Mar 2020 03:30:45 +0000 (11:30 +0800)
committerYan, Zheng <zyan@redhat.com>
Mon, 20 Apr 2020 10:11:15 +0000 (18:11 +0800)
commit72dab35bd0db553b3082c04dcf96cd5d1138b944
tree11360f9723b6f8db9312d376b8c724bb305a017a
parent02e15a20d90f2bc225ead036c059dd0e4443552b
mds: auth pin stray dir when purging stray inode

After stray inode gets added to purge queue, mds deletes stray dentry.
MDS needs to make sure stray dir is not being fragmented.

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