-
Amir Shehata authored
If discovery is disabled locally or at the remote end, then attempt discovery only once. Do not update the internal database when discovery is disabled and do not repeat discovery. This change prevents LNet from getting hung waiting for discovery to complete. Signed-off-by: Amir Shehata <ashehata@whamcloud.com> Change-Id: I4543b0f71e6cf297a1a5f058ebcc6bf74b8ac328 Reviewed-on: https://review.whamcloud.com/35191 Reviewed-by: Olaf Weber <olaf.weber@hpe.com> Tested-by: Jenkins Reviewed-by: Chris Horn <hornc@cray.com> Tested-by: Maloo <maloo@whamcloud.com> Reviewed-by: Oleg Drokin <green@whamcloud.com> Reviewed-on: https://review.whamcloud.com/38890 Reviewed-by: Chris Horn <chris.horn@hpe.com> Tested-by: jenkins <devops@whamcloud.com>
7cc0b292