]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c8b07b214fbc9b7bcfd1c729a1760152ccd5f9e
tree93c9cd248c8dd0bd1c01dc50582acd08c6109701
parente094732bd3f5b1b0c16b63b2e63584f5ff5b7a25
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