Whamcloud - gitweb
LU-14555 lnet: asym route inconsistency warning 52/49352/3
authorGian-Carlo DeFazio <defazio1@llnl.gov>
Thu, 8 Dec 2022 23:17:26 +0000 (15:17 -0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 13 Jan 2023 07:22:39 +0000 (07:22 +0000)
commit6aed5df1771c299b527251b0e18ff9f6cb95dd75
treee73ccd3f90058d74518d17c1e5e0309e5dbe2c61
parentaf32b516593dbf2a8e7a85d885c33fd017926ada
LU-14555 lnet: asym route inconsistency warning

remove LNET_UNDEFINED_HOPS from lnet_check_route_inconsistency()
where it is being treated as equivalent to 1 for the
value of lr_hops.

Due to the changes made in commit 3f2844dc9
"LU-14945 lnet: don't use hops to determine the route state",
LNET_UNDEFINED_HOPS is no longer considered equivalent to 1
for lr_hops in all cases, and it is valid to leave hops undefined
for multi-hop routes.

Therefore, having a multi-hop route with a hops of
LNET_UNDEFINED_HOPS is no longer inconsistent.

Fixes: 6ab060e58e ("LU-14555 lnet: asym route inconsistency warning")
Test-Parameters: trivial
Signed-off-by: Gian-Carlo DeFazio <defazio1@llnl.gov>
Change-Id: Iab8597f59c5f8d27b16dbeda79b41e9ec4777f52
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49352
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/router.c