diff options
author | John Garry <john.garry@huawei.com> | 2022-09-05 19:48:47 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-09-06 22:28:11 -0400 |
commit | 11ff0c98fca35df16c84d4eee52008faecaf10a6 (patch) | |
tree | 4a683c69925503ba14b247b84cfd9809c1407d43 /scripts/spdxcheck.py | |
parent | bc5551157a747d463247a54b611e5a8464677c6f (diff) | |
download | linux-11ff0c98fca35df16c84d4eee52008faecaf10a6.tar.gz |
scsi: hisi_sas: Drain bcast events in hisi_sas_rescan_topology()
In resetting the controller, SATA devices may be lost.
The issue is that when we insert the bcast events to rescan the topology in
hisi_sas_rescan_topology(), when we subsequently nexus reset the SATA
devices in hisi_sas_async_I_T_nexus_reset(), there is a small timing window
in which the remote phy is down and we process the bcast event (meaning
that libsas judges that the disk is lost).
Ensure that all bcast events are processed prior to the nexus reset to
close this window.
Link: https://lore.kernel.org/r/1662378529-101489-4-git-send-email-john.garry@huawei.com
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/spdxcheck.py')
0 files changed, 0 insertions, 0 deletions