Whamcloud - gitweb
LU-12312 lnet: handle no discovery flag 29/38229/3
authorAmir Shehata <ashehata@whamcloud.com>
Wed, 15 Apr 2020 00:44:46 +0000 (17:44 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 23 Apr 2020 16:49:37 +0000 (16:49 +0000)
commita83c820f89b3bd56dc1951e62431b8e2ba8181f6
treec0ace17b7ff105f0a185c215c7736980e129db30
parentb93ef29660b6ac69d7ffd0f325be02c18835b4d2
LU-12312 lnet: handle no discovery flag

When a peer is being discovered, it could indicate that its
discovery is disabled. In this case we shouldn't flag the
peer for deletion. This operation is reserved for cases when
the peer initiates a push to tell us that it has changed
its status from discovery to no discovery.

Fixes: 4577410165 ("LU-13028 lnet: advertise discovery when toggled")
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I1d357555e234d828ba19b72fab1d041f93af548e
Reviewed-on: https://review.whamcloud.com/38229
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/peer.c
lustre/tests/sanity-sec.sh