No need to print an error when the health of an interface is
reduced. Changed it to debug level.
Lustre-change: https://review.whamcloud.com/37002
Lustre-commit:
5567aaba1086217e021938e5f9543c640b2d007c
Test-Parameters: trivial
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: Ia60ade12efab732ea4b0388a3803976bf65938ab
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/37718
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
*/
if (list_empty(&local_ni->ni_recovery) &&
atomic_read(&local_ni->ni_healthv) < LNET_MAX_HEALTH_VALUE) {
- CERROR("ni %s added to recovery queue. Health = %d\n",
+ CDEBUG(D_NET, "ni %s added to recovery queue. Health = %d\n",
libcfs_nid2str(local_ni->ni_nid),
atomic_read(&local_ni->ni_healthv));
list_add_tail(&local_ni->ni_recovery,
if (list_empty(&lpni->lpni_recovery) &&
atomic_read(&lpni->lpni_healthv) < LNET_MAX_HEALTH_VALUE) {
- CERROR("lpni %s added to recovery queue. Health = %d\n",
+ CDEBUG(D_NET, "lpni %s added to recovery queue. Health = %d\n",
libcfs_nid2str(lpni->lpni_nid),
atomic_read(&lpni->lpni_healthv));
list_add_tail(&lpni->lpni_recovery, &the_lnet.ln_mt_peerNIRecovq);