Project

General

Profile

Actions

Bug #1428

closed

MDS: Load and pin stray dirs in memory

Added by Greg Farnum over 12 years ago. Updated over 7 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

MDCache::populate_mydir() already does some of this; we also need to it load each frag and set the STICKY flag on them, then clean it up in MDCache::shutdown_pass().

This will let us revert commit:d3d767a2a36caefdeb8a94abba1673cf8304c793, which is good because that:
1) gets rid of an ugly workaround,
2) lets us exercise the recursive stats code better (since the stray dirs are very active).

Actions

Also available in: Atom PDF