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

memory leak in ll_update_default_lsm_md()

Details

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

    Description

      When multiple processes call ll_update_default_lsm_md() at the same time, it should check whether lli_default_lsm_md is set, if so, free it before setting it to the one from lustre_md, otherwise it will be set to the last one, and the default_lsm set before it are leaked.

      Attachments

        Activity

          [LU-14004] memory leak in ll_update_default_lsm_md()
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40103/
          Subject: LU-14004 llite: default lsm update may memory leak
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: cd2ad336177f8f3130de264709dc326349a22b23

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40103/ Subject: LU-14004 llite: default lsm update may memory leak Project: fs/lustre-release Branch: master Current Patch Set: Commit: cd2ad336177f8f3130de264709dc326349a22b23

          Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40103
          Subject: LU-14004 llite: default lsm update may memory leak
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: cc48251764075424978065a15b9bf8b11adad520

          gerrit Gerrit Updater added a comment - Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40103 Subject: LU-14004 llite: default lsm update may memory leak Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cc48251764075424978065a15b9bf8b11adad520

          People

            laisiyao Lai Siyao
            laisiyao Lai Siyao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: