Whamcloud - gitweb
LU-15446 lnet: Don't use pref NI for reserved portal
authorChris Horn <chris.horn@hpe.com>
Wed, 12 Jan 2022 19:19:21 +0000 (19:19 +0000)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 26 Aug 2022 16:31:12 +0000 (16:31 +0000)
commit16dbb70a7d1a435acc1bd12edc826b55574f9f79
tree2e868ddece48df81c9fdf9bdca88d418c8b21132
parente0c78a3e6a239742ed7d1093dd2d47a4c75ff9f2
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.

Lustre-change: https://review.whamcloud.com/46078
Lustre-commit: a2815441381cb6cee8eb9865d9279541ea04828e

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/48312
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/lnet/lib-move.c
lustre/tests/sanity-lnet.sh