Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Lustre 2.12.5
-
None
-
9223372036854775807
Description
Current you must have +lnet debugging enabled and dump logs to see if there is an issue with running out of credits. Because running out lnet credits can cause failures at many levels we recommend that the "no credits" should be changed to a warning that is printed to the console.
--- a/lnet/klnds/o2iblnd/o2iblnd_cb.c
+++ b/lnet/klnds/o2iblnd/o2iblnd_cb.c
@@ -896,7 +896,7 @@ __must_hold(&conn->ibc_lock)
}
if (credit != 0 && conn->ibc_credits == 0) { /* no credits */
- CDEBUG(D_NET, "%s: no credits\n",
+ CWARN( "%s: no credits\n",
libcfs_nid2str(peer_ni->ibp_nid));
return -EAGAIN;
}