[LU-14954] socklnd: fix link state detection Created: 20/Aug/21  Updated: 24/Feb/23  Resolved: 31/Aug/21

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

Type: Bug Priority: Minor
Reporter: Serguei Smirnov Assignee: Serguei Smirnov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807
Epic Link: Socklnd Improvements

 Description   

Due to matching only the device index, link detection implemented in LU-14742 has issues with confusing the link events for the virtual interfaces with the link events for the interface that LNet was actually configured to use. Fix this by improving the identification of the event source: use device name in addition to device index. Additionally, to make sure the link fatal state is cleared only when the device is bound to the IP address used at NI creation, subscribe to inetaddr events in addition to the netdev events.

 



 Comments   
Comment by Gerrit Updater [ 23/Aug/21 ]

"Serguei Smirnov <ssmirnov@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/44732
Subject: LU-14954 socklnd: fix link state detection
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ce93e9aeb2420759306fbbc2cdbfc2ac2b8878ea

Comment by Gerrit Updater [ 31/Aug/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44732/
Subject: LU-14954 socklnd: fix link state detection
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 008795508d65bb40b6ea631c141449866ab7aa67

Comment by Peter Jones [ 31/Aug/21 ]

Landed for 2.15

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