Skip to content

Commit 16c363a

Browse files
committed
qa: add parallelized cleanup step in _rebuild_metadata()
doc [0] suggests running cleanup step after scanning extents and inodes which was missing in the func `_rebuild_metadata()` [0] https://docs.ceph.com/en/latest/cephfs/disaster-recovery-experts/#recovery-from-missing-metadata-objects Signed-off-by: Dhairya Parmar <[email protected]>
1 parent 20b1021 commit 16c363a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/tasks/cephfs/test_data_scan.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ def _rebuild_metadata(self, workload, workers=1, unmount=True):
509509
self.fs.data_scan(["scan_extents"], worker_count=workers)
510510
self.fs.data_scan(["scan_inodes"], worker_count=workers)
511511
self.fs.data_scan(["scan_links"])
512+
self.fs.data_scan(["cleanup"], worker_count=workers)
512513

513514
workload.mangle()
514515

0 commit comments

Comments
 (0)