Whamcloud - gitweb
LU-17632 o2iblnd: graceful handling of CM_EVENT_CONNECT_ERROR
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Mon, 11 Mar 2024 17:59:29 +0000 (10:59 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 23 Mar 2024 20:28:23 +0000 (20:28 +0000)
commit6caa8a5223a5d02bb896e4cbe079466f55cff785
treeac00d129ac277f1689c4f5bba8f56f437d32bdbe
parent45bb0971713fcf90f269aa0c9caabcce6db23e91
LU-17632 o2iblnd: graceful handling of CM_EVENT_CONNECT_ERROR

There were examples in the field with RoCE setups which demonstrate
that RDMA_CM_EVENT_CONNECT_ERROR may be received when conn state
is neither IBLND_CONN_ACTIVE_CONNECT nor IBLND_CONN_PASSIVE_WAIT.
Handle this in a more gracious manner: report the event as unexpected
and allow the flow to continue.

Lustre-change: https://review.whamcloud.com/54353
Lustre-commit: 7f27a2fceef9a03d3ada74e258e774c8f5d420f0

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: I58b2482207cfd821f6eac142bdefc8f5bc50f8b4
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54362
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c