summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorLuo Jiaxing <luojiaxing@huawei.com>2021-06-07 17:29:35 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2021-06-09 23:21:51 -0400
commit366da0da1f5fe4e7e702f5864a557e57f485431f (patch)
treee429b4c52b49926738565ec25779f656e9d2e7a8 /lib/mpi/mpiutil.c
parentd1f2ce77638d681c1e34d597e432a3b28ce15c78 (diff)
scsi: hisi_sas: Put a limit of link reset retries
If an OOB event is received but the phy still fails to come up, a link reset will be issued repeatedly at an interval of 20s until the phy comes up. Set a limit for link reset issue retries to avoid printing the timeout message endlessly. Link: https://lore.kernel.org/r/1623058179-80434-2-git-send-email-john.garry@huawei.com Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions