Whamcloud - gitweb
LU-12422 lnet: discovery off route state update 99/35199/4
authorAmir Shehata <ashehata@whamcloud.com>
Wed, 12 Jun 2019 00:41:23 +0000 (17:41 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Sep 2019 01:51:48 +0000 (01:51 +0000)
commite35be987da57dea89651352f982b12dfd5f4ffb2
treef28645ec3bd73de04474aa8661d41f86d0887927
parentd4a54de84c0554a21b215621b4df5fdd93e38f74
LU-12422 lnet: discovery off route state update

When discovery is off rely on the discovery ping response
only, rather than the internal peer database to determine
route state. With discovery off the internal peer database
is not updated with all the gateway's interfaces.

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: If1b5347629ffeb92208097c06d708e1105d27679
Reviewed-on: https://review.whamcloud.com/35199
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/lnet/peer.c
lnet/lnet/router.c