]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: fix scan_stray_dir not reset next.frag on each run of stray inode 49670/head
authorethanwu <ethanwu@synology.com>
Tue, 13 Dec 2022 02:30:44 +0000 (10:30 +0800)
committerVenky Shankar <vshankar@redhat.com>
Mon, 9 Jan 2023 10:19:02 +0000 (15:49 +0530)
commita33b13f399eff3c6b7f8e8d9daa1526482ecf3af
tree7272d1ef10502b344cf25e8575a5625e3c9b3b05
parentce4cb4f6a0d686d93861386d021e3de1985bd90d
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>
(cherry picked from commit a4799689d551f865078aef4607d2cc09a67caea1)
src/mds/MDCache.cc