Whamcloud - gitweb
LU-17632 o2iblnd: graceful handling of CM_EVENT_CONNECT_ERROR 53/54353/2
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Mon, 11 Mar 2024 17:59:29 +0000 (10:59 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 23 Mar 2024 06:12:24 +0000 (06:12 +0000)
commit7f27a2fceef9a03d3ada74e258e774c8f5d420f0
treecd0d4f0464cae2f32e3f9da926df4a2daf76410a
parent2bf51212680b3d4117925965c368d53587bf37d4
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.

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: I58b2482207cfd821f6eac142bdefc8f5bc50f8b4
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54353
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c