Actions
Feature #40261
openmds: permit executing scripts from various file system events
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".
Actions