Whamcloud - gitweb
LU-11475 lnet: transfer routers 39/34539/20
authorAmir Shehata <ashehata@whamcloud.com>
Thu, 28 Mar 2019 02:32:45 +0000 (19:32 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:17:52 +0000 (18:17 +0000)
commitcab57464e17b9d21f37f7234bb3d54451a7829fc
treebf451deefe34b49fd708f377e02ecd54e43f6ee2
parent086962e37737b4f61317b8b3ee87ab5527f89e96
LU-11475 lnet: transfer routers

When a primary NID of a peer is about to be deleted because
it's being transfered to another peer, if that peer is a gateway
then transfer all gateway properties to the new peer.

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