aboutsummaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorGravatar Yihang Li <liyihang9@huawei.com> 2023-01-04 12:03:20 +0800
committerGravatar Martin K. Petersen <martin.petersen@oracle.com> 2023-01-12 00:08:03 -0500
commitf58c89700630da6554b24fd3df293a24874c10c1 (patch)
tree40cadac2e2ca7f215ce9971650d121a271a57620 /drivers/target
parentscsi: hisi_sas: Use abort task set to reset SAS disks when discovered (diff)
downloadlinux-f58c89700630da6554b24fd3df293a24874c10c1.tar.gz
linux-f58c89700630da6554b24fd3df293a24874c10c1.tar.bz2
linux-f58c89700630da6554b24fd3df293a24874c10c1.zip
scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id
Currently the driver sets the port invalid if one phy in the port is not enabled, which may cause issues in expander situation. In directly attached situation, if phy up doesn't occur in time when refreshing port id, the port is incorrectly set to invalid which will also cause disk lost. Therefore set a port invalid only if there are no devices attached to the port. Signed-off-by: Yihang Li <liyihang9@huawei.com> Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Link: https://lore.kernel.org/r/1672805000-141102-3-git-send-email-chenxiang66@hisilicon.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions