Re: [PATCH V2] scsi: libsas: Directly kick-off EH when ATA device fell off

From: Jason Yan
Date: Sun Dec 18 2022 - 21:19:56 EST


On 2022/12/16 18:03, Xingui Yang wrote:
If the ATA device fell off, call sas_ata_device_link_abort() directly and
mark all outstanding QCs as failed and kick-off EH Immediately. This avoids
having to wait for block layer timeouts.

Signed-off-by: Xingui Yang <yangxingui@xxxxxxxxxx>
---
Changes to v1:
- Use dev_is_sata() to check ATA device type
drivers/scsi/libsas/sas_discover.c | 3 +++
1 file changed, 3 insertions(+)

Looks good,
Reviewed-by: Jason Yan <yanaijie@xxxxxxxxxx>