Project

General

Profile

Actions

Feature #12130

open

cephfs-data-scan: Accumulate dirfrag sizes on injection

Added by John Spray almost 9 years ago. Updated over 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

Use a RADOS class to increment an xattr for the number of dentries injected into a fragment object during repair. Add a final phase to the repair process where we iterate over directories and update their statistics based on this accumulated counter.

Replaces the current behaviour where we set size=1 for dirs and hope for something to fix it up later.

Actions #1

Updated by John Spray over 8 years ago

  • Category changed from 66 to fsck/damage handling
Actions

Also available in: Atom PDF