diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2024-04-02 11:55:12 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-04-05 21:47:38 -0400 |
commit | 358e919a351f2ea4b412e7dac6b1c23ec10bd4f5 (patch) | |
tree | 3a1c1bbca024631058de1d68fd2d5caea7911426 /lib/sg_pool.c | |
parent | 97a54ef596c3fd24ec2b227ba8aaf2cf5415e779 (diff) |
scsi: hisi_sas: Handle the NCQ error returned by D2H frame
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.
Co-developed-by: Xingui Yang <yangxingui@huawei.com>
Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/20240402035513.2024241-2-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions