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

request leak in lmv_revalidate_slaves()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.7.0
    • Lustre 2.7.0
    • 3
    • 15173

    Description

      In lmv_revalidate_slaves() it may happen that md_intent_lock() fails but leaves us with a reference to the request. In this case the request will be leaked:

                      rc = md_intent_lock(tgt->ltd_exp, op_data, &it, &req,
                                          cb_blocking, extra_lock_flags);
                      if (rc < 0)
                              GOTO(cleanup, rc);
      
                      ...
      
      cleanup:
              OBD_FREE_PTR(op_data);
              RETURN(rc);
      }
      
      
      

      Attachments

        Activity

          People

            jhammond John Hammond
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: