Project

General

Profile

Actions

Feature #9557

closed

mds: verify backtrace on fetch_dir

Added by Sage Weil over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

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

Description

Verify that the backtrace is valid when we finish fetch_dir. That is, that we would have been able to locate the dir inode. This should be basically free in terms of IO (an extra getxattr) and verifiable given the metadata we have in cache.

Make a config option to assert if the verification fails. Maybe another option to repair it when we see it.

Actions

Also available in: Atom PDF