Actions
Feature #15507
openMDS: 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!
Actions