]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: hisi_sas: Use abort task set to reset SAS disks when discovered
authorXingui Yang <yangxingui@huawei.com>
Wed, 4 Jan 2023 04:03:19 +0000 (12:03 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 12 Jan 2023 05:08:03 +0000 (00:08 -0500)
commit037b48057e8b485a8d72f808122796aeadbbee32
tree989cfd2c86c8d0dfd0fa12a81c835e50daeebc40
parenta67aad57d9aee41180aff36e54cb72fe4b8d5a5a
scsi: hisi_sas: Use abort task set to reset SAS disks when discovered

Currently clear task set is used to abort all commands remaining in the
disk when the SAS disk is discovered, and if the disk is discovered by two
initiators, other I_T nexuses are also affected. So use abort task set
instead and take effect only on the specified I_T nexus.

Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/1672805000-141102-2-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c