Project

General

Profile

Actions

Feature #15507

open

MDS: support "watching" an inode/dentry

Added by Greg Farnum about 8 years ago. Updated about 5 years ago.

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 1 (1 open0 closed)

Related to CephFS - Feature #40261: mds: permit executing scripts from various file system eventsNew

Actions
Actions

Also available in: Atom PDF