Whamcloud - gitweb
LU-14555 lnet: asym route inconsistency warning 18/46918/6
authorGian-Carlo DeFazio <defazio1@llnl.gov>
Wed, 23 Mar 2022 23:25:56 +0000 (16:25 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 11 Jul 2022 06:50:32 +0000 (06:50 +0000)
commit6ab060e58e6b3f38b0c8d57b56fec887c6fe9fb6
tree9206f0bfe05bc4b94b7010b64fd17defaa8e3bf0
parent6bceb0030d15b70097d75f8da2d373310fe2c658
LU-14555 lnet: asym route inconsistency warning

lnet_check_route_inconsistency() checks for inconsistency between
the lr_hops and lr_single_hop values of a route.

A warning is currently emitted if the route is not single hop
and the hop count is either 1 or LNET_UNDEFINED_HOPS.

To emit the warning, add the requirement that
avoid_asym_router_failure is enabled.

Test-Parameters: trivial
Signed-off-by: Gian-Carlo DeFazio <defazio1@llnl.gov>
Change-Id: Iaa26d25492e49b569ae5e81da9f00f162be3da59
Reviewed-on: https://review.whamcloud.com/46918
Reviewed-by: Olaf Faaland-LLNL <faaland1@llnl.gov>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/router.c