Hi Jon !As I wrote, extending MTIO ioctls to support more mt commands is not a real issue (e. g. add access to the LOCATE command). We just need to decide which features are useful to support and find the time to implement them.
For Bacula it wouldn't help right now, thus the EOM code needs fixing.There are also some other things that are useful to add to the SCSI subsystem like acquiring timeout information from the device to avoid early device resets while the drive is still fighting with its servo errors (just happened to me with a bad LTO7 drive). I have that update currently sitting in my tree.
Frank On 03/21/19 04:27, John Nemeth wrote:
On Mar 20, 8:08pm, Frank Kardel wrote: } } This seems to be a long standing deficiency of the driver. Looking at } the SCSI spec it is recommended to issue a READ POSITION command I did read a book about SCSI sometime ago, so I have a good overview of CCBs and the protocol, but it has been some time since I've looked at it in any depth. And, although I've made minor changes to our SCSI code, I can't say that I know it in any depth. }
[snip]