Feature #15507
MDS: support "watching" an inode/dentry
Status:
New
Priority:
High
Assignee:
-
Category:
Introspection/Control
Target version:
-
% Done:
0%
Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, MDS, kceph, qa-suite
Labels (FS):
task(intern), task(medium)
Pull request ID:
Description
It would be great if we could monitor all client access to a specific file. Obviously we can't check for each access to the underlying RADOS objects, but we can do something like:
- Request monitoring on a dentry (or inode?)
- start recording all cap swaps on that file, either in memory, to a local file, or to RADOS
- export that information on request, if in memory
- stop it when told to
This isn't completely specced out, but I've been working on an issue where it would be very convenient. Come up with firmer design requirements for a reasonably simple monitoring solution, and implement it!
Related issues
History
#1 Updated by John Spray almost 8 years ago
Not a million miles away from http://tracker.ceph.com/projects/ceph/wiki/Live_Performance_Probes
#2 Updated by Greg Farnum almost 8 years ago
- Category changed from 47 to Introspection/Control
#3 Updated by Patrick Donnelly almost 6 years ago
- Target version set to v14.0.0
- Component(FS) Client, MDS, kceph, qa-suite added
- Labels (FS) task(intern), task(medium) added
#4 Updated by Patrick Donnelly about 5 years ago
- Target version changed from v14.0.0 to v15.0.0
#5 Updated by Patrick Donnelly about 5 years ago
- Target version deleted (
v15.0.0)
#6 Updated by Patrick Donnelly almost 5 years ago
- Related to Feature #40261: mds: permit executing scripts from various file system events added