Whamcloud - gitweb
LU-15852 lnet: Don't modify uptodate peer with temp NI 22/47322/3
authorChris Horn <chris.horn@hpe.com>
Wed, 30 Mar 2022 18:35:23 +0000 (13:35 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 2 Nov 2022 07:11:00 +0000 (07:11 +0000)
commit8f718df474e453fbc69dfe90214e71565963f6db
treec83683495117ab631a4d4de2278ac5fdb7587298
parent4f2914537cc32fe89c4781bcfc87c38e3fe4419c
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.

HPE-bug-id: LUS-10867
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/fs/lustre-release/+/47322
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/peer.c