[LU-14214] incorrect locking in ofd_object_fallocate() Created: 15/Dec/20  Updated: 29/Apr/22  Resolved: 22/Dec/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Upstream, Lustre 2.14.0
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
is related to LU-15800 Fallocate causes transaction deadlock Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

ofd_object_fallocate() takes the lock before transaction start which is not correct.



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

Alex Zhuravlev (bzzz@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40969
Subject: LU-14214 ofd: fix locking in ofd_object_fallocate()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e59614cec47cd11b3d9defa5ac968c3af3335e37

Comment by Gerrit Updater [ 22/Dec/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40969/
Subject: LU-14214 ofd: fix locking in ofd_object_fallocate()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: cdaaa87f6b4d590d2a559da2a496510f24dc9b10

Comment by Peter Jones [ 22/Dec/20 ]

Landed for 2.14

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