Whamcloud - gitweb
LU-14668 lnet: peer state to lock primary nid 62/43562/5
authorAmir Shehata <ashehata@whamcloud.com>
Wed, 5 May 2021 01:20:54 +0000 (18:20 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Aug 2021 01:59:05 +0000 (01:59 +0000)
commit684943e2d0c2ad095e3521586d61d007b4f49abd
tree82cb5a13f755895eb80a40780a8c43451cc853b1
parent16321de596f6395153be6cbb6192250516963077
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

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I8c55e90ad2abd083c2fc902a04d4cd06a3412bfa
Reviewed-on: https://review.whamcloud.com/43562
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-types.h