Project

General

Profile

Actions

Feature #57481

open

mds: enhance scrub to fragment/merge dirfrags

Added by Patrick Donnelly over 1 year ago. Updated 21 days ago.

Status:
Pending Backport
Priority:
High
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Development
Tags:
backport_processed
Backport:
quincy,reef,squid
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
scrub, task(easy), task(intern)
Pull request ID:

Description

Typically, this can only be induced via a client workload. That can be expensive due to the caps generated. See MDBalancer::maybe_fragment for how to trigger fragment/merge. The code change in the MDS should be trivial. The real work is in writing the tests. Suggest a few unit tests which create a directory hierarchy, flush the MDS journal, modify fragment/merge configs, issue a scrub, and check the fragment/merge happened as expected.


Related issues 3 (3 open0 closed)

Copied to CephFS - Backport #65488: reef: mds: enhance scrub to fragment/merge dirfragsIn ProgressChristopher HoffmanActions
Copied to CephFS - Backport #65489: squid: mds: enhance scrub to fragment/merge dirfragsIn ProgressChristopher HoffmanActions
Copied to CephFS - Backport #65490: quincy: mds: enhance scrub to fragment/merge dirfragsIn ProgressChristopher HoffmanActions
Actions

Also available in: Atom PDF