[LU-13894] lnet_peer_data_present() needs to transfer the lp_disc_src_nid if it is merging two peers Created: 07/Aug/20  Updated: 26/Aug/22  Resolved: 11/Mar/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   

It's possible for a discovery ping reply to contain a primary NID that is claimed by a different peer. In this case, lnet_peer_data_present() reconciles the peers in lnet_set_primary_data(). When it does this, it needs to transfer the lp_disc_src_nid from the old peer (which is going to be deleted) to the new peer. Otherwise it is possible that the subsequent push to the peer that is being discovered will go out over an interface that the peer does not know about and it will be dropped.



 Comments   
Comment by Gerrit Updater [ 07/Aug/20 ]

Chris Horn (chris.horn@hpe.com) uploaded a new patch: https://review.whamcloud.com/39607
Subject: LU-13894 lnet: Transfer disc src NID when merging peers
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 407751ee395cf9c9743d38e787a13dc258b75bd5

Comment by Gerrit Updater [ 10/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/39607/
Subject: LU-13894 lnet: Transfer disc src NID when merging peers
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e65d8ba583858ae10f2d53fd270b19d13e423634

Comment by Peter Jones [ 11/Mar/21 ]

Landed for 2.15

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