]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: fix scan_stray_dir not reset next.frag on each run of stray inode
authorethanwu <ethanwu@synology.com>
Tue, 13 Dec 2022 02:30:44 +0000 (10:30 +0800)
committerethanwu <ethanwu@synology.com>
Fri, 16 Dec 2022 01:44:38 +0000 (09:44 +0800)
commita4799689d551f865078aef4607d2cc09a67caea1
treee14beb76f5334b3d7289b636f5d24134e62c159d
parent92168eac67d6ed51c73e55b5c48d7ec079816b0b
mds: fix scan_stray_dir not reset next.frag on each run of stray inode

When we finish scanning one stray inode we should reset next.frag
so that next stray inode could start from its first dir fragment
rather than last stray inode's last frag.

Fixes: https://tracker.ceph.com/issues/58294
Signed-off-by: ethanwu <ethanwu@synology.com>
src/mds/MDCache.cc