[LU-14037] lu_device_fini()) ASSERTION( atomic_read(&d->ld_ref) == 0 ) Created: 15/Oct/20  Updated: 22/Jun/22  Resolved: 07/Nov/20

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

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

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

 Description   

mntput() is not synchronous and schedules real work to another thread. thus osd_device_fini() doesn't wait for commit callbacks to complete, which in turn hold references to lu_device.



 Comments   
Comment by Gerrit Updater [ 15/Oct/20 ]

Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40258
Subject: LU-14037 osd: track commit cb in flight
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 9d38b0bc7f6a835e2d8f71a43c286f1678b4d16e

Comment by Gerrit Updater [ 07/Nov/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40258/
Subject: LU-14037 osd: track commit cb in flight
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 33f95f7ae7300f93433bc781845594d292a18b67

Comment by Peter Jones [ 07/Nov/20 ]

Landed for 2.14

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