diff options
| author | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-11-04 22:34:36 -0500 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-11-04 22:34:36 -0500 |
| commit | 76455a2febb0af62978869b10503f8b134186e3c (patch) | |
| tree | 0d1895a37f8d5382266dc1bb3321a95624654ead /scripts/Makefile.thinlto | |
| parent | c78b78166c55ebd6ae0b378499abd519aee7a966 (diff) | |
| parent | c14818f4d2b46a67fa0d2fd8fd5ef3532245f07a (diff) | |
| download | linux-next-76455a2febb0af62978869b10503f8b134186e3c.tar.gz linux-next-76455a2febb0af62978869b10503f8b134186e3c.zip | |
Merge patch series "Recover from persistent UNIT ATTENTION conditions"
Bart Van Assche <bvanassche@acm.org> says:
Hi Martin,
Some SCSI targets do not clear a power-on or reset UNIT ATTENTION
condition for all commands. BIWIN BWU2A05* UFS devices, for example,
keep reporting UNIT ATTENTION for WRITE commands while TEST UNIT READY,
READ and SYNCHRONIZE CACHE clear the condition. Today such WRITE
commands are retried until the command runtime limit is exceeded. A
quirk has been proposed for these devices [1]. This patch series instead
makes the SCSI core recover from persistent UNIT ATTENTION conditions,
so that no per-device quirk list has to be maintained:
- Patches 1 and 2 prepare the SCSI error handler for the changes in
the later patches.
- Patch 3 makes the SCSI error handler send TEST UNIT READY to clear
UNIT ATTENTION conditions before it falls back to resetting the
device.
- Patch 4 makes scsi_decide_disposition() invoke the error handler if
a command receives the same UNIT ATTENTION repeatedly. The behavior
of the exported scsi_check_sense() function, used by libata, is not
changed.
- Patch 5 limits the number of retries in scsi_io_completion_action()
of commands that keep receiving UNIT ATTENTION.
Please consider this patch series for the next merge window.
[1] https://lore.kernel.org/linux-scsi/20261028-biwin-tua-quirk-v1-1-767a12c9b9cc@flipper.net/
Thanks,
Bart.
Link: https://patch.msgid.link/cover.1793400000.git.bvanassche@acm.org
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
