Message ID | 1659577097-19253-20-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: Update to OpenSFS as of Aug 3 2022 | expand |
diff --git a/net/lnet/lnet/router.c b/net/lnet/lnet/router.c index bbef2b3..b684243 100644 --- a/net/lnet/lnet/router.c +++ b/net/lnet/lnet/router.c @@ -369,7 +369,8 @@ bool lnet_is_route_alive(struct lnet_route *route) lnet_check_route_inconsistency(struct lnet_route *route) { if (!route->lr_single_hop && - (route->lr_hops == 1 || route->lr_hops == LNET_UNDEFINED_HOPS)) { + (route->lr_hops == 1 || route->lr_hops == LNET_UNDEFINED_HOPS) && + avoid_asym_router_failure) { CWARN("route %s->%s is detected to be multi-hop but hop count is set to %d\n", libcfs_net2str(route->lr_net), libcfs_nidstr(&route->lr_gateway->lp_primary_nid),