Whamcloud - gitweb
LU-15446 lnet: Don't use pref NI for reserved portal 78/46078/4
authorChris Horn <chris.horn@hpe.com>
Wed, 12 Jan 2022 19:19:21 +0000 (19:19 +0000)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 Feb 2022 04:43:29 +0000 (04:43 +0000)
commita2815441381cb6cee8eb9865d9279541ea04828e
tree079a5e276f61b5b99a064f2b81a5dd3bd1dd0de5
parent56384a4fc39ff99c8abb3538f93d303f2be6ab45
LU-15446 lnet: Don't use pref NI for reserved portal

Don't use the preferred NI when sending traffic on the LNet reserved
portal. This allows local recovery pings to utilize any local NI as
source in the case where we do not have a multi-rail peer entry for
the local host. This is typically the case when MR is not being
configured statically (i.e. when discovery is being used for MR
configuration).

lnet_get_best_ni() was modified to include health values of the NIs
being compared in its debug output.

HPE-bug-id: LUS-10658
Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I38f5760bf034f698b7f44ffa89aa91c4f5d4b9ea
Reviewed-on: https://review.whamcloud.com/46078
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-move.c
lustre/tests/sanity-lnet.sh