News for hackers. Stuff that matters.
Re:BPF for storage: an exokernel-inspired approach by pjmlp on Saturday March 27, 2021 @02:53PM (#26604507)
So basically back to SCSI.
Re:BPF for storage: an exokernel-inspired approach by wtallis on Saturday March 27, 2021 @03:01PM (#26604571)
I'm not seeing any new parallels to SCSI, beyond the similarities that have long existed between NVMe and SCSI. What kind of programmable functionality over SCSI are you referring to?
Re:BPF for storage: an exokernel-inspired approach by pjmlp on Saturday March 27, 2021 @05:09PM (#26605657)
SCSI uses their own controllers that receive a set of commands and take it from there for the data retrieval operations.

https://en.wikipedia.org/wiki/SCSI_command

Re:BPF for storage: an exokernel-inspired approach by wtallis on Saturday March 27, 2021 @06:38PM (#26606236)
SCSI uses simple fixed command sets, the same as standard NVMe drives. As far as I'm aware, SCSI doesn't have any way to chain commands together, so you can't really do anything more complex than predefined commands like copy or compare and write. It's nothing at all analogous to an actual programmable offload engine like you'd get with eBPF, and all the semi-advanced SCSI commands that are actually applicable to SSDs already have equivalents in the base NVMe command set.