]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: evaluate strays while performing scrub on root path
authordparmar18 <dparmar@redhat.com>
Mon, 12 Sep 2022 11:46:00 +0000 (17:16 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Fri, 31 Mar 2023 10:18:34 +0000 (15:48 +0530)
commitfbcc853fc6dc88299409f8a7db08c084aae3039d
tree2b05dfa215e4214e315d335424f9469d59868fa8
parentf243abea8396fb130ebb93c1afb4f9a0b20010ea
mds: evaluate strays while performing scrub on root path

Running scrub at CephFS root doesn't iterate over ~mdsdir,
this feature is needed but the cluster admin should have
the liberty to decide whether to evaluate strays at root
or not. Therefore a new option 'scrub_mdsdir' can be useful.

Fixes: https://tracker.ceph.com/issues/53724
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit e65eb2bb7895287c068691afe7a7a1710af0d360)
src/mds/MDSDaemon.cc
src/mds/MDSRank.cc