Whamcloud - gitweb
LU-14540 o2iblnd: Use REMOTE_DROPPED for ECONNREFUSED 14/42114/3
authorChris Horn <chris.horn@hpe.com>
Fri, 19 Mar 2021 18:22:26 +0000 (13:22 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 6 Apr 2021 03:03:00 +0000 (03:03 +0000)
commitf9d837b479232bfc4f271f23cd3729ca67cb6c1d
tree01b4f26ef42d23a705bf39994a56881b12c0ea58
parent3f8a6fd7d6d5969560157e37abe1a7d9307cc53f
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.

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