summaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorXingui Yang <yangxingui@huawei.com>2025-03-12 17:51:35 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2025-03-20 20:46:31 -0400
commitdaff37f00c7506ca322ccfce95d342022f06ec58 (patch)
tree318471c71a3f64ced233c8dfe2905f5e9ed7fdbf /rust/helpers/helpers.c
parent8aa580cd92843b60d4d6331f3b0a9e8409bb70eb (diff)
downloadlinux-stable-daff37f00c7506ca322ccfce95d342022f06ec58.tar.gz
linux-stable-daff37f00c7506ca322ccfce95d342022f06ec58.tar.bz2
linux-stable-daff37f00c7506ca322ccfce95d342022f06ec58.zip
scsi: hisi_sas: Fix I/O errors caused by hardware port ID changes
The hw port ID of phy may change when inserting disks in batches, causing the port ID in hisi_sas_port and itct to be inconsistent with the hardware, resulting in I/O errors. The solution is to set the device state to gone to intercept I/O sent to the device, and then execute linkreset to discard and find the disk to re-update its information. Signed-off-by: Xingui Yang <yangxingui@huawei.com> Link: https://lore.kernel.org/r/20250312095135.3048379-3-yangxingui@huawei.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions