linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ZOMG RFCRAP PATCH 0/2] xfs: horrifying eBPF hacks
@ 2017-12-13  6:18 Darrick J. Wong
  2017-12-13  6:21 ` [PATCH 1/2] xfs: eBPF user hacks insanity Darrick J. Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Darrick J. Wong @ 2017-12-13  6:18 UTC (permalink / raw)
  To: linux-xfs; +Cc: Richard Wareing, david, hch

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-01-04  0:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-13  6:18 [ZOMG RFCRAP PATCH 0/2] xfs: horrifying eBPF hacks Darrick J. Wong
2017-12-13  6:21 ` [PATCH 1/2] xfs: eBPF user hacks insanity Darrick J. Wong
2017-12-13  6:22 ` [PATCH 2/2] tools/xfs: use XFS hacks to override data block device placement Darrick J. Wong
2017-12-21 13:33 ` [ZOMG RFCRAP PATCH 0/2] xfs: horrifying eBPF hacks Christoph Hellwig
2017-12-21 16:45   ` Darrick J. Wong
2018-01-04  0:05     ` Richard Wareing
2018-01-04  0:52       ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).