[LU-7063] llog_osd_destroy() leaks a lock on error Created: 31/Aug/15  Updated: 22/Sep/15  Resolved: 22/Sep/15

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

Type: Bug Priority: Minor
Reporter: John Hammond Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: easy, llog, osd

Issue Links:
Related
is related to LU-6846 dt_record_write()) ASSERTION( dt->do_... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

In llog_osd_destroy() if llog_osd_dir_get() fails then the write lock on the log object is leaked. This was added by http://review.whamcloud.com/#/c/15730/7/lustre/obdclass/llog_osd.c.



 Comments   
Comment by Gerrit Updater [ 17/Sep/15 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: http://review.whamcloud.com/16471
Subject: LU-7063 llog: fix leak of lock in llog_ost_destroy()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1cf62734eca3c18fe8593cd7a962edcc50671644

Comment by Gerrit Updater [ 22/Sep/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16471/
Subject: LU-7063 llog: fix leak of lock in llog_ost_destroy()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e686e57bada3cbcd0fe447b95b76a49d988c2ceb

Comment by Joseph Gmitter (Inactive) [ 22/Sep/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:05:40 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.