[LU-14004] memory leak in ll_update_default_lsm_md() Created: 30/Sep/20  Updated: 04/Aug/21  Resolved: 27/May/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Lai Siyao Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Gerrit Updater [ 30/Sep/20 ]

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

Comment by Gerrit Updater [ 27/May/21 ]

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

Comment by Peter Jones [ 27/May/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:06:01 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.