On Tue, 22 Aug 2023 14:14:12 -0400, John Meneghini wrote: > Many tape devices will automatically rewind following a poweron/reset. > This can result in data loss as other operations in the driver can write > to the tape when the position is unknown. E.g. MTEOM can write a > filemark at the beginning of the tape. This patch adds code to detect > poweron/reset unit attentions and prevents the driver from writing to > the tape when the position could be unknown. > > [...] Applied to 6.6/scsi-queue, thanks! [1/2] scsi: tape: add third party poweron reset handling https://git.kernel.org/mkp/scsi/c/9604eea5bd3a -- Martin K. Petersen Oracle Linux Engineering