Whamcloud - gitweb
LU-15852 lnet: Don't modify uptodate peer with temp NI
authorChris Horn <chris.horn@hpe.com>
Wed, 30 Mar 2022 18:35:23 +0000 (13:35 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 6 Dec 2022 05:06:06 +0000 (05:06 +0000)
commit2e443c33f31bef01c69408061bc2a6564eaa8ba1
tree37a83d35507d00cf88e28d88aa0bc86cf2b79e4d
parent9ee5113beb77133745cff7000cb18df783a77196
LU-15852 lnet: Don't modify uptodate peer with temp NI

When processing the config log it is possible that we attempt to
add temp NIs after discovery has completed on a peer. These temp
may not actually exist on the peer. Since discovery has already
completed the peer is considered up-to-date and we can end up with
incorrect peer entries. We shouldn't add temp NIs to a peer that
is already up-to-date.

Lustre-change: https://review.whamcloud.com/47322
Lustre-commit: 8f718df474e453fbc69dfe90214e71565963f6db

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Ia484713b1e6c9e1a46e525589b7c741c6478e417
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49303
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/lnet/peer.c