On Wed, 12 Aug 2020 16:33:04 +0000 Leah Rumancik <leah.rumancik@xxxxxxxxx> wrote: Thanks for documenting this stuff, but... > +====================== > +IO Filtering with eBPF > +====================== > + > +Bio requests can be filtered with the eBPF IO filter program type (BPF_PROG_TYPE_IO_FILTER). To use this program type, the kernel must be compiled with CONFIG_BPF_IO_FILTER. > + > +Attachment > +========== > + > +IO filter programs can be attached to disks using the BPF_BIO_SUBMIT attach type. Up to 64 filter programs can be attached to a single disk. References to the attached programs are stored in the gendisk struct as a bpf_prog_array. Please wrap your text to a reasonable column width just like with any other kernel file. Thanks, jon