Feature #11171
Path filtering on "dump cache" asok
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:
Description
Sometimes we will want to get a detailed dump of the cache for one particular subtree, so implement a mode that will traverse down whatever is in cache beneath a particular path. Perhaps also allow a `depth` parameter so that one could e.g. list a directory without all its descendents too.
Like "ceph daemon mds.a dump cache", but with an extra argument that limits the output to a particular sub-path. Code is in MDCache::dump_path, entered through MDSRank::handle_asok_command. Confusingly the existing asok command already has a 'path' argument, but that's the output filename, not a filter.
History
#1 Updated by Greg Farnum almost 8 years ago
- Category changed from 47 to Introspection/Control
#2 Updated by John Spray almost 8 years ago
- Description updated (diff)
#3 Updated by Douglas Fuller almost 8 years ago
- Status changed from New to In Progress
- Assignee set to Douglas Fuller
#4 Updated by Douglas Fuller almost 8 years ago
- Status changed from In Progress to Fix Under Review
#5 Updated by Douglas Fuller over 7 years ago
For test, see https://github.com/ceph/ceph-qa-suite/pull/1066
#6 Updated by John Spray over 7 years ago
- Status changed from Fix Under Review to Resolved