diff options
| author | Xingui Yang <[email protected]> | 2025-03-12 09:51:35 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-03-21 00:46:31 +0000 |
| commit | daff37f00c7506ca322ccfce95d342022f06ec58 (patch) | |
| tree | 318471c71a3f64ced233c8dfe2905f5e9ed7fdbf /drivers/fpga/tests/fpga-mgr-test.c | |
| parent | scsi: hisi_sas: Enable force phy when SATA disk directly connected (diff) | |
| download | kernel-daff37f00c7506ca322ccfce95d342022f06ec58.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions
