John, > 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-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering