]> git.apps.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:14:12 +0000 (15:44 +0530)
commitc906a88576a9a5fc538803cc27dcbd69a590dcb0
tree5cc2a0778c247e9aa5058878ae45d0a8c3139c9a
parente1a8fea924fde1958c53223fa9832c0d79ca3c66
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