Project

General

Profile

Feature #15507

MDS: support "watching" an inode/dentry

Added by Greg Farnum over 2 years ago. Updated 8 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Introspection/Control
Target version:
Start date:
04/14/2016
Due date:
% 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!

History

#2 Updated by Greg Farnum over 2 years ago

  • Category changed from 47 to Introspection/Control

#3 Updated by Patrick Donnelly 8 months ago

  • Target version set to v14.0.0
  • Component(FS) Client, MDS, kceph, qa-suite added
  • Labels (FS) task(intern), task(medium) added

Also available in: Atom PDF