[LU-13781] Local NI selection needs to be restricted on the net of the next-hop Created: 13/Jul/20  Updated: 29/Aug/22  Resolved: 05/May/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Chris Horn Assignee: Chris Horn
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In lnet_handle_find_routed_path(), after we pick the best_route we assign

local_lnet = best_route->lr_lnet;

And then use local_lnet to lookup the best_ni, but the net we need to restrict on isn't lr_lnet, it's LNET_NIDNET(gwni->lpni_nid).



 Comments   
Comment by Gerrit Updater [ 13/Jul/20 ]

Chris Horn (chris.horn@hpe.com) uploaded a new patch: https://review.whamcloud.com/39352
Subject: LU-13781 lnet: Local NI must be on same net as next-hop
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e37192355050f45c53a85bc9979d8bfce4dfa9f5

Comment by Gerrit Updater [ 05/May/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39352/
Subject: LU-13781 lnet: Local NI must be on same net as next-hop
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 031c087f3847777c0099cbfae13f0b6fee54452b

Comment by Peter Jones [ 05/May/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:04:09 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.