Whamcloud - gitweb
LU-14668 lnet: peer state to lock primary nid
authorAmir Shehata <ashehata@whamcloud.com>
Wed, 5 May 2021 01:20:54 +0000 (18:20 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 28 Feb 2023 04:19:43 +0000 (04:19 +0000)
commit13ace1722a7f51bf7a1805a47e5f13eb4a8f5c3b
treed9dc16c395efe0b09ca27cc314853416cf62891a
parent727ec3db42f77c40383a0d0012c4fb3f15c68afe
LU-14668 lnet: peer state to lock primary nid

Introduce the following two peer states:

LNET_PEER_LOCK_PRIMARY, set by Lustre to lock the primary NID
of a peer to the NID Lustre is configured with

LNET_PEER_BAD_CONFIG, set by LNet if Lustre attempts to set
a peer's Primary NID to a NID used as the primary NID of another
peer

Lustre-change: https://review.whamcloud.com/43562
Lustre-commit: 684943e2d0c2ad095e3521586d61d007b4f49abd

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I8c55e90ad2abd083c2fc902a04d4cd06a3412bfa
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49966
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/include/lnet/lib-types.h