Re: [PATCH v1 0/2] fixup handling of timeouts with deferred QCs

Igor Pylypiv <[email protected]> Thu, 9 Jul 2026 10:36:55 -0700
Newsgroups org.kernel.vger.linux-ide,org.kernel.vger.linux-scsi
Message-ID <[email protected]>
On Thu, Jul 09, 2026 at 05:39:32PM +0900, Damien Le Moal wrote:
> This patch series fixes libata and libsas to correctly handles deferred
> queued commands in case of a timeout error, to avoid excessive delays in
> waking up the scsi EH task.
> 
> Igor,
> 
> Please retest !

Looks good! Thank you, Damien!

Tested-by: Igor Pylypiv <[email protected]>

> 
> Martin,
> 
> Once reviewed, I or you can take both patches ?
> 
> Damien Le Moal (2):
>   ata: libata-scsi: terminate deferred commands on time out
>   scsi: libsas: terminate deferred commands on time out
> 
>  drivers/ata/libata-eh.c             |  2 +-
>  drivers/ata/libata-scsi.c           | 54 +++++++++++++++++++++++++----
>  drivers/ata/libata.h                |  3 +-
>  drivers/scsi/libsas/sas_scsi_host.c | 17 +++++++++
>  include/linux/libata.h              |  4 +++
>  include/scsi/libsas.h               |  2 ++
>  6 files changed, 73 insertions(+), 9 deletions(-)
> 
> -- 
> 2.55.0
>