Whamcloud - gitweb
LU-9121 lnet: Select NI/peer NI with highest prio
authorAmir Shehata <ashehata@whamcloud.com>
Tue, 5 Sep 2023 19:29:55 +0000 (03:29 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 6 Oct 2023 23:23:10 +0000 (23:23 +0000)
commite29da0c256fb2953820a03ff79a74d93700ae1f0
treeae19a611dc80831753fd21fc734db7352010d18e
parentc4931a048655215025a10c9a42327a4eb262eb02
LU-9121 lnet: Select NI/peer NI with highest prio

Modify the selection algorithm to select the highest priority
local and peer NI. Health always trumps all other selection
criteria

Lustre-commit: 3fc2e0e0b3c8353a8fecc6d127ee55d255d7acb7
Lustre-change: https://review.whamcloud.com/34351

Test-Parameters: trivial testlist=lnet-selftest,sanity-lnet
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: I487a706f4da30311d0bd59fe03f72dbe68a52425
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52289
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/lnet/lib-move.c