Project

General

Profile

Actions

Feature #12255

open

Create ScrubMap structure in MDLog

Added by John Spray almost 9 years ago. Updated almost 8 years ago.

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

0%

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

Description

This is where we will record what scrubs are going on, and what tags are associated with them. This is essential so that we can reliably continue a scrub with a particular tag across an MDS restart.

We have to wait for the ScrubMap to persist before we can start the actual act of scrubbing, so that we don't get halfway through.

Entries should tell us about the dentry at which the scrub was started, and the tag (if any) in use.

This might also be used to record other user-configurable properties set when initiating a scrub, like how thorough the checks on data objects should be, whether to flush metadata that hasn't been flushed recently, etc.

Actions #1

Updated by John Spray almost 9 years ago

  • Category set to fsck/damage handling
Actions

Also available in: Atom PDF