Open bluecmd opened 3 years ago
What is the status of this? This relevant? Can you give me a little more information what might be the benefit of this?
The benefit/problem statement is to handle multiple concurrent runs of the library/tools. I'd imagine a way to test this is to run hundreds of instances of the tools against one drive and ensure that no protocol errors happen. Either by synchronizing around something like O_EXCL or something else
See http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/SCSI-Generic-HOWTO.html and specifically 7.1 open().
Reading that, we might also be fine with opening with RDONLY
No idea how this works with nvme though.