Project

General

Profile

Actions

Feature #12141

open

cephfs-data-scan: File size correction from backward scan

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

Currently, if a dentry already exists at the backtrace location which points to the inode, we do nothing. We should optionally correct the size of the file, if what we scan differs from the content of the dentry.

This would be useful for cases where e.g. we killed a journal such that the MDSs don't know a file was recently written to, or where a client misbehaved.

Actions

Also available in: Atom PDF