scsi: hisi_sas: Directly trigger SCSI error handling for completion errors
authorLuo Jiaxing <luojiaxing@huawei.com>
Mon, 13 Jul 2020 08:04:30 +0000 (16:04 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Jul 2020 03:32:28 +0000 (23:32 -0400)
commit05d91b557af91fd7870b5d413102e2e902e5a5fc
tree93c9cd248c8dd0bd1c01dc50582acd08c6109701
parent46426552e74fd38e43aa95af17487d3cc285d71f
scsi: hisi_sas: Directly trigger SCSI error handling for completion errors

Abort failed commands in completion path. This avoids having to wait for
block layer timeouts and triggering the SCSI error handling thread.

Link: https://lore.kernel.org/r/1594627471-235395-2-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c