Project

General

Profile

Feature #9557

mds: verify backtrace on fetch_dir

Added by Sage Weil over 6 years ago. Updated about 6 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.

Associated revisions

Revision a79ba32d (diff)
Added by Yan, Zheng over 6 years ago

mds: verify backtrace when fetching dirfrag

Fixes: #9557
Signed-off-by: Yan, Zheng <>

History

#1 Updated by Sage Weil over 6 years ago

  • Target version deleted (v0.87)

#2 Updated by Sage Weil over 6 years ago

  • Description updated (diff)
  • Source changed from other to Development

#3 Updated by Sage Weil over 6 years ago

  • Target version set to v0.88

#4 Updated by Greg Farnum over 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Zheng Yan

#5 Updated by Zheng Yan over 6 years ago

  • Status changed from In Progress to Fix Under Review

#6 Updated by Zheng Yan about 6 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF