From: Martin K. Petersen Date: Mon, 3 Feb 2025 22:52:32 +0000 (-0500) Subject: Merge patch series "scsi: st: scsi_error: More reset patches" X-Git-Tag: v6.15-rc1~164^2~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=026476271efe817b970ea360981ee77919bcdbad;p=thirdparty%2Flinux.git Merge patch series "scsi: st: scsi_error: More reset patches" Kai Mäkisara says: The first patch re-applies after device reset some settings changed by the user (partition, density, block size). The second and third patch address the case where more than one ULD access the same device. The Unit Attention (UA) sense data is sent only to one ULD and the others miss it. The st driver needs to find out if device reset or media change has happened. The second patch adds counters for New Media and Power On/Reset (POR) Unit Attentions to the scsi_device struct. The third one changes st so that these are used: if the value in the scsi_device struct does not match the one stored locally, the corresponding UA has happened. Use of the was_reset flag has been removed. The fourth patch adds a file to sysfs to tell the user if reads/writes to a tape are blocked following a device reset. Link: https://lore.kernel.org/r/20250120194925.44432-1-Kai.Makisara@kolumbus.fi Signed-off-by: Martin K. Petersen --- 026476271efe817b970ea360981ee77919bcdbad