Whamcloud - gitweb
LU-13648 lnet: Set remote NI status in lnet_notify 62/38862/2
authorChris Horn <chris.horn@hpe.com>
Fri, 22 May 2020 01:49:53 +0000 (20:49 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 10 Jul 2020 16:52:38 +0000 (16:52 +0000)
commit8010dbb6607664a613e6496d42ee70d40a15dc6a
treea87506b8940183cc2642f4c4dc01c980f78c36bc
parente17ee2296c201ca91ea095b1a42250f733c20cf5
LU-13648 lnet: Set remote NI status in lnet_notify

The gnilnd receives node health information asynchronous from any tx
failure, so aliveness of lpni as reported by lnet_is_peer_ni_alive()
may not match what LND is telling us. Use existing reset flag to
set cached NI status down so we can be sure that remote NIs are
correctly set down.

Test-Parameters: trivial
HPE-bug-id: LUS-8897
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I1ab36b63d83fb35803eb13a330d698cfa49f17e9
Reviewed-on: https://review.whamcloud.com/38862
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/gnilnd/gnilnd.c
lnet/lnet/router.c