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

Is ptlrpc_obd_ping Returning (-ENOMEM) W/O issueing any errors

    XMLWordPrintable

Details

    • Question/Request
    • Resolution: Done
    • Minor
    • None
    • Lustre 2.5.3
    • None
    • 9223372036854775807

    Description

      Shouldn't ptlrpc_obd_ping() issue a CERROR() before returning ENOMEM?

      int ptlrpc_obd_ping(struct obd_device *obd)
      {
              int rc;
              struct ptlrpc_request *req;
              ENTRY;
      
              req = ptlrpc_prep_ping(obd->u.cli.cl_import);
              if (req == NULL)
                      RETURN(-ENOMEM); <========= HERE
      
              req->rq_send_state = LUSTRE_IMP_FULL;
      
              rc = ptlrpc_queue_wait(req);
      
              ptlrpc_req_finished(req);
      
              RETURN(rc);
      }
      

      Attachments

        Activity

          People

            jfc John Fuchs-Chesney (Inactive)
            mhanafi Mahmoud Hanafi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: