Project

General

Profile

Feature #57481

mds: enhance scrub to fragment/merge dirfrags

Added by Patrick Donnelly 3 months ago. Updated 3 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
quincy,pacific
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.

History

#1 Updated by Venky Shankar 3 months ago

Additionally, the MDS does not fragment directory snapshots. The tracker for this - https://tracker.ceph.com/issues/55215

This results in "large omap" warnings.

Also available in: Atom PDF