[LU-13694] LNet: optimize peer preferred nids handling Created: 18/Jun/20  Updated: 18/Jun/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Serguei Smirnov Assignee: Serguei Smirnov
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

UDSP feature introduced preferred peer nids list as opposed to keeping track of just a single preferred nid, but both methods of dealing with the peer preferred nids are kept around in the code (lnet_peer_ni struct, peer module). The list is used if there is more than one preferred nid and a single entry is used if there's just one preferred nid. The code would get simplified if just the "list" method is used, as it covers all requirements with negligible overhead.


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