Project

General

Profile

Actions

Feature #40261

open

mds: permit executing scripts from various file system events

Added by Patrick Donnelly almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
Client, MDS, kceph
Labels (FS):
Pull request ID:

Description

Potential uses:

- automatic gzip of closed files meeting some criteria
- automatic archival of unlinked files
- stream updates to a subtree to some log for processing (like #15507)
- auditing

Scripting language would likely be Lua, we already use it for Mantle. The way it would mostly likely work is having an vxattr on directories/files that points to a script, perhaps somewhere else in the file system. The script would have hooks for various events like "unlink_pre".


Related issues 1 (1 open0 closed)

Related to CephFS - Feature #15507: MDS: support "watching" an inode/dentryNew04/14/2016

Actions
Actions #1

Updated by Patrick Donnelly almost 5 years ago

  • Related to Feature #15507: MDS: support "watching" an inode/dentry added
Actions

Also available in: Atom PDF