diff options
| author | Luo Jiaxing <luojiaxing@huawei.com> | 2021-06-07 17:29:35 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-09 23:21:51 -0400 |
| commit | 366da0da1f5fe4e7e702f5864a557e57f485431f (patch) | |
| tree | e429b4c52b49926738565ec25779f656e9d2e7a8 /lib/mpi/mpiutil.c | |
| parent | d1f2ce77638d681c1e34d597e432a3b28ce15c78 (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
