Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-14113

lnet no credits should be a warning message

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Lustre 2.12.5
    • None
    • 9223372036854775807

      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;
               }
      

            cbordage Cyril Bordage
            mhanafi Mahmoud Hanafi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: