Commit 7d982bef authored by Xingui Yang's avatar Xingui Yang
Browse files

scsi: hisi_sas: Handle the NCQ error returned by D2H frame

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I86GWG


CVE: NA

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

We find that some disks use D2H frame instead of SDB frame to return NCQ
error. Currently, only the I/O corresponding to the D2H frame is processed
in this scenario, which does not meet the processing requirements of the
NCQ error scenario.
So we set dev_status to HISI_SAS_DEV_NCQ_ERR and abort all I/Os of the disk
in this scenario.

Signed-off-by: default avatarXingui Yang <yangxingui@huawei.com>
Reviewed-by: default avatarXiang Chen <chenxiang66@hisilicon.com>
parent 5906512f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment