On Wed, 23 Oct 2024 12:55:41 +0200, Niklas Cassel wrote:
When ata_qc_complete() schedules a command for EH using ata_qc_schedule_eh(), blk_abort_request() will be called, which leads to req->q->mq_ops->timeout() / scsi_timeout() being called.
scsi_timeout(), if the LLDD has no abort handler (libata has no abort handler), will set host byte to DID_TIME_OUT, and then call scsi_eh_scmd_add() to add the command to EH.
[...]
Applied to libata/linux.git (for-6.12-fixes), thanks!
[1/1] ata: libata: Set DID_TIME_OUT for commands that actually timed out https://git.kernel.org/libata/linux/c/8e59a2a5
Kind regards, Niklas