xfs: horrifying eBPF hacks
Get series with b4
b4 am 20171213061825.GO19219@magnoliaVersions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xfs: eBPF user hacks insanityfs/ fs/ fs/ +4 more | +213 | 0 replies | |
| 2/2 | tools/xfs: use XFS hacks to override data block device placementsrc/ src/ src/ +1 more | +140 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [ZOMG RFCRAP PATCH 0/2] xfs: horrifying eBPF hacks
Heh.
So here's a kernel patch that builds on Josef's eBPF return value override patch series to provide an eBPF-kprobe-overridable hook function so that administrators can program XFS to redirect a file to the rt device or the data device depending on their own funny constraints any time that the system is doing the first write into an empty file.
The second patch is against Brendan Gregg's bcc repository; it adds a python script to compile and inject a sample eBPF program that behaves (roughly) the same as Richard's earlier patches.
Soooo... rather than dumping a bunch of static code into XFS to support his particular usecase, we're building him an eBPF Bazooka and telling him to have fun. :P
(More generally, it's a science fair project for letting people customize XFS behavior with eBPF in a controlled manner.)
--D