Whamcloud - gitweb
LU-13025 lnet: pick healthiest peer net 12/36912/6
authorAmir Shehata <ashehata@whamcloud.com>
Wed, 20 Nov 2019 03:40:34 +0000 (19:40 -0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 1 Mar 2020 05:35:52 +0000 (05:35 +0000)
commit728822f4b73cd9ca31f9800dfdd013d86cb44faf
tree074acbcfc26af318aa50e921fe2c3ce55f134fba
parente4edafaaa874e56fab1da1149dcc51c2ff448e04
LU-13025 lnet: pick healthiest peer net

When iterating over the peer nets, select the healthiest one.
Node might be able to reach a peer over multiple nets, and therefore
the health of these peer nets must be considered.

Test-parameters: trivial

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I155888dca358627fcb63c2ed0e51114bc49a9ff1
Reviewed-on: https://review.whamcloud.com/36912
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/lnet/lib-move.c
lnet/lnet/lib-msg.c
lnet/lnet/peer.c
lnet/lnet/router.c