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

qmt_pool_lock leak in qmt_pool_lookup()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      It seems that qmt_pool_lookup() jumps to out_err label if qti_pools_add() fails, but the pool lock is not released:

      out_err:
              CERROR("%s: cannot add pool %s: err = %d\n",
                      qmt->qmt_svname, pos->qpi_name, rc);
              RETURN(ERR_PTR(rc));
      

      seems like a bug?
      Introduced by 09f9fb3211c "LU-11023 quota: quota pools for OSTs"

      Attachments

        Issue Links

          Activity

            People

              scherementsev Sergey Cheremencev
              green Oleg Drokin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: