Whamcloud - gitweb
LU-11475 lnet: allow deleting router primary_nid 00/33300/34
authorAmir Shehata <ashehata@whamcloud.com>
Thu, 4 Oct 2018 22:31:04 +0000 (15:31 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:17:34 +0000 (18:17 +0000)
commit086962e37737b4f61317b8b3ee87ab5527f89e96
tree2ad2d9c191fe4e3e675212ce272e03b349e6b899
parent434456256f30c33d36a3968ea5f24495e5413c62
LU-11475 lnet: allow deleting router primary_nid

Discovery doesn't allow deleting a primary_nid of a peer. This
is necessary because upper layers only know to reach the peer by
using the primary_nid. For routers this is not the case. So
if a router changes its interfaces and comes back up again, the
peer_ni should be adjusted.

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I9da056172f35a5f15eed5ba0e02fcb37ac414c54
Reviewed-on: https://review.whamcloud.com/33300
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Tested-by: Jenkins
lnet/include/lnet/lib-types.h
lnet/lnet/peer.c