[LU-16154] memory leak in class_config_llog_handler() Created: 14/Sep/22  Updated: 01/Oct/22  Resolved: 24/Sep/22

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

Type: Bug Priority: Minor
Reporter: Emoly Liu Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

It was reported that "LustreError: 870040:0:(class_obd.c:899:obdclass_exit()) obd_memory max: 7445573, leaked: 2880".

After some check, a memory leak is found in class_config_llog_handler().



 Comments   
Comment by Gerrit Updater [ 14/Sep/22 ]

"Emoly Liu <emoly@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48542
Subject: LU-16154 obdclass: free inst_name correctly
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f743fc9350ce432d929eaeb15b07736f4ce17066

Comment by Gerrit Updater [ 24/Sep/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48542/
Subject: LU-16154 obdclass: free inst_name correctly
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e7f17c5e0c95dba3b80e192e4ca3628cc42e64b9

Comment by Peter Jones [ 24/Sep/22 ]

Landed for 2.16

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