Messages in this thread | | | Subject | Re: [PATCH 0/3] SG_IO command filtering via sysfs | From | Paolo Bonzini <> | Date | Fri, 16 Nov 2018 08:01:29 +0100 |
| |
On 16/11/18 01:37, Bart Van Assche wrote: > All user space interfaces in the Linux kernel for storage that I'm familiar > with not only allow configuration of parameters but also make it easy to > query which parameters have been configured. The existing sysfs and configfs > interfaces demonstrate this. Using BPF to configure SG/IO access has a > significant disadvantage, namely that it is very hard to figure out what has > been configured. Figuring out what has been configured namely requires > disassembling BPF. I'm not sure anyone will be enthusiast about this.
Well, that's a problem with BPF in general. With great power comes great obscurability.
Paolo
| |