Whamcloud - gitweb
LU-13894 lnet: Transfer disc src NID when merging peers
authorChris Horn <chris.horn@hpe.com>
Thu, 6 Aug 2020 21:39:27 +0000 (16:39 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 26 Aug 2022 16:30:51 +0000 (16:30 +0000)
commit40f266b6dae5a62691051596b83cc01b2f3bb713
treeaa2d8cce79e0753dda3966250b94b42aa99a4618
parentd393b4d2b5e92d35e704f953157a0d8ffbbbdb52
LU-13894 lnet: Transfer disc src NID when merging peers

If we're merging two peers in lnet_peer_data_present() then we need
to transfer the src NID stored in the peer whose ping buffer we are
processing to the peer that actually owns the NIDs in the ping
buffer. 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.

Lustre-change: https://review.whamcloud.com/39607
Lustre-commit: e65d8ba583858ae10f2d53fd270b19d13e423634

Test-Parameters: trivial
HPE-bug-id: LUS-9193
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I050c7c1c2c0eddb8d5ff12f40342a8a02efacb9c
Reviewed-on: https://review.whamcloud.com/48293
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/lnet/peer.c