Project

General

Profile

Actions

Feature #4139

closed

MDS: forward scrub: add scrub_stamp infrastructure and a function to scrub a single folder

Added by Greg Farnum about 11 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
fsck/damage handling
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

Add the scrub stamps necessary for the scrubbing algorithm described in our forward scrub proposal; be efficient about any non-permanent data by putting it in the more() struct or a separate scrub_info() struct if appropriate. Permanent metadata needs to be cleaned up or cleared properly on rename (last_scrub_version will not be meaningful outside of the original containing directory). Add functionality so that given a single dirfrag, the MDS will do the scrub on it, and a temporary interface that lets us do so while the system is running.

Actions

Also available in: Atom PDF