Whamcloud - gitweb
LU-14750 lnet: use ni fatal error when calculating net health 62/43962/2
authorSerguei Smirnov <ssmirnov@whamcloud.com>
Wed, 9 Jun 2021 21:22:12 +0000 (14:22 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 8 Jul 2021 02:06:31 +0000 (02:06 +0000)
commit86a69f9eb5cab3f9eb57afcd984a2ecd215b89df
treec3175406414c49b4749284c9295b45dcdaaeaaee
parentd775f9ae37975c853984b67f6d1a21e6ec8a8c3d
LU-14750 lnet: use ni fatal error when calculating net health

When ni is flagged with "fatal_error" by LND, its health score
remains unaffected. This allows for the net containing such ni
to be selected for tx even if it is the only ni in this net.
Take "fatal_error" status of the ni into account when calculating
the net health score.

Test-Parameters: trivial
Signed-off-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Change-Id: Ib76245f835f1458873f0c05ad9b6727d295857de
Reviewed-on: https://review.whamcloud.com/43962
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/api-ni.c