Whamcloud - gitweb
LU-13712 lnet: Preferred NI logic breaks MR routing 68/39168/3
authorChris Horn <chris.horn@hpe.com>
Wed, 24 Jun 2020 16:17:45 +0000 (11:17 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 7 Aug 2020 04:58:02 +0000 (04:58 +0000)
commitef6c35877b96c11a83a6cb823bf66e44bf355ed3
treec9d90800e7750df5fc81a68bd68b0240250d2a4c
parent9ed12d2e8f3f2189d7794e55e7c0e8c0178ffde7
LU-13712 lnet: Preferred NI logic breaks MR routing

Edge (final-hop) routers typically use the non-multi-rail destination
(NMR_DST) send case. i.e. they treat the destination as
non-multi-rail. The reason for this is that we do not want routers to
modify the destination peer interface selected by the message
originator. As a result of using the NMR_DST send case, edge routers
set a preferred NI, and then continue to use that NI, because it's
preferred, even if the NI goes down and the router has other healthy
interfaces available to it. Routers do not need to use the preferred
NI selection logic when they are forwarding a message, so modify the
NMR_DST algorithm to allow routers to select any suitable local NI.

Test-Parameters: trivial
HPE-bug-id: LUS-9045
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Iae0fb47d58a70f640d316a8c85cf3058ca2f82eb
Reviewed-on: https://review.whamcloud.com/39168
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-move.c