[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 |
| Comment by Gerrit Updater [ 27/May/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40103/ |
| Comment by Peter Jones [ 27/May/21 ] |
|
Landed for 2.15 |