Commit 55f77c08 authored by Luo Jiaxing's avatar Luo Jiaxing Committed by Xie XiuQi
Browse files

scsi: hisi_sas: add softreset behind abort device at I_T_nexus_reset() to...


scsi: hisi_sas: add softreset behind abort device at I_T_nexus_reset() to ensure decoupling of SATA device

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

-------------------------------------------------

We found out that SATA disk can not be write but read only after
system come up. No abnormal IO have come back between init, but
when we try to write SATA disk, the IO can not return and timeout.

We notice that one if-check is remove at sas_I_T_nexus(), and it
cause internal_task_abort() will be allow to run besides error
handle, and obviously softreset_ata() did not run after this
condition, so it's clear that SATA disk is not decoupling.

Fixes: 0de2941 ("scsi: hisi_sas: remove the check of sas_dev status in function hisi_sas_I_T_nexus_reset()")

Signed-off-by: default avatarLuo Jiaxing <luojiaxing@huawei.com>
Reviewed-by: default avatarXiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: default avatarJohn Garry <john.garry@huawei.com>
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 3d274170
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment