Fix #52715
mds: reduce memory usage during scrubbing
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Breadth-first search may queue lots of inodes. Change scrub traverse to depth-First search.
The new scrub code no long pins dirfrag in scrub stack. If a dirfrag gets exported, the old auth mds should abort scrub, the new auth mds should continue to scrub.
History
#1 Updated by Greg Farnum over 2 years ago
- Project changed from Ceph to CephFS
I'm a bit confused by this ticket; AFAIK scrub is a depth-first search.
#2 Updated by Venky Shankar over 2 years ago
Greg Farnum wrote:
I'm a bit confused by this ticket; AFAIK scrub is a depth-first search.
IIRC, Zheng changed it to breadth-first for multimds scrub support.