]> 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)
commit823f507a22a68ac3d329337e0db763dfb2ddd94a
tree93c9cd248c8dd0bd1c01dc50582acd08c6109701
parentc03ad86d4c7412336056d06595d715b82d346380
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