Project

General

Profile

Feature #11171

Path filtering on "dump cache" asok

Added by John Spray over 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Introspection/Control
Target version:
-
Start date:
03/19/2015
Due date:
% 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 over 3 years ago

  • Category changed from 47 to Introspection/Control

#2 Updated by John Spray over 3 years ago

  • Description updated (diff)

#3 Updated by Douglas Fuller over 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Douglas Fuller

#4 Updated by Douglas Fuller about 3 years ago

  • Status changed from In Progress to Need Review

#6 Updated by John Spray almost 3 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF