Project

General

Profile

Actions

Feature #62364

open

support dumping rstats on a particular path

Added by Greg Farnum 9 months ago. Updated 8 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Introspection/Control
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
task(medium)
Pull request ID:

Description

Especially now that we have rstats disabled by default, we need an easy way to dump rstats (primarily rbytes, though not exclusively that) on given paths. This is really useful when monitoring things like deletion progress in a large directory, or tracking down problems — especially in mgr/volumes environments.

There are a few ways we could approach this — perhaps we add "fs" or "subvolume" commands to enable this, that just do a lookup on the mgr's built-in client? We could extend the cache dump options (which already let you dump a particular inode by number) to let you dump a particular path? Perhaps a brand new admin socket command on the MDS which does a full path walk lookup?

Actions

Also available in: Atom PDF