[LU-15929] Correct the net selection for router ping Created: 10/Jun/22  Updated: 03/Jul/23  Resolved: 01/Sep/22

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

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

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

lnet_select_best_ni_on_local_net() contains logic for restricting
the NI selection to a net specified by lnet_peer::lp_disc_net_id. The
purpose of this is to ensure that LNet peers ping every interface on
a router at a regular interval as part of the LNet router health
feature. However, this logic is flawed in because lnet_msg_discovery()
is used to determine whether the message being sent is a discovery
message, but that function actually determines whether a give message
can trigger discovery



 Comments   
Comment by Gerrit Updater [ 01/Sep/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47527/
Subject: LU-15929 lnet: Correct net selection for router ping
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2431e099b143a4c7e7f951c912263f1536db07f0

Comment by Peter Jones [ 01/Sep/22 ]

Landed for 2.16

Comment by Gerrit Updater [ 03/Jul/23 ]

"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51548
Subject: LU-15929 lnet: Correct net selection for router ping
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: be02e224334ec883e699804ac09463b617974eae

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