I try to write as fast as possible on a SSD. It's very important to have synchronous writes, because we need to know if the data is power failures safe written.
I thought about sending scsi commands on my own, to avoid most of the Linux Kernel Block IO Stack (which is not needed in our usecase). To avoid Kernel Entry/Exit overhead, it should be a Kernel Module.
- Do you know an example how to send scsi writes to a device?
- How would you implement this?
- Or why is the scsi layer the wrong entrypoint?