scsi: hisi_sas: Set iptt aborted flag when receiving an abnormal CQ
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I62ZXO CVE: NA ------------------------------------------------ During the write I/O, when the SAS PHY switch is tested, the hardware may reports two CQs for one IO. the first cq indicates invalid port when DPH scheduling, the second cq indicates that response frame has been written to the memory but the I/O is ended abnormally due to I/O data underload. So set iptt aborted flag when receiving an abnormal CQ, then the host will discards the IPTT frame received from the SAS hard disk. Signed-off-by: NXingui Yang <yangxingui@huawei.com> Reviewed-by: Nkang fenglong <kangfenglong@huawei.com> Signed-off-by: NYongqiang Liu <liuyongqiang13@huawei.com>
Showing
想要评论请 注册 或 登录