Whamcloud - gitweb
LU-14540 o2iblnd: Use REMOTE_DROPPED for ECONNREFUSED
authorChris Horn <chris.horn@hpe.com>
Fri, 19 Mar 2021 18:22:26 +0000 (13:22 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 15 Jul 2021 15:17:20 +0000 (15:17 +0000)
commit0525b5ca717a9ae5757a87f9cdd64fa75d05af05
tree313250e36d9725aee3e1c53a130199b29296a8e0
parente81474e7daa84ac34ffac894b7d8a0048b284a3d
LU-14540 o2iblnd: Use REMOTE_DROPPED for ECONNREFUSED

ECONNREFUSED means that we received a response from the remote end,
so setting the LNet health status to REMOTE_DROPPED is more
appropriate than setting LOCAL_DROPPED. Using REMOTE_DROPPED will
decrement the peer NI health and allow us to try other peer NIs for
future sends.

Decrementing the peer NI health will also result in routes being
marked down, as appropriate, for cases where a router has refused the
connection request.

Lustre-commit: f9d837b479232bfc4f271f23cd3729ca67cb6c1d
Lustre-change: https://review.whamcloud.com/42114

Test-Parameters: trivial
HPE-bug-id: LUS-9853
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I8190f5d78a76ec25553908c4f215362c0c2051fc
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-on: https://review.whamcloud.com/44248
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c