[LU-11537] Fix assertion: osd_trans_exec_op()) ASSERTION( !ldiskfs_track_declares_assert ) Created: 17/Oct/18  Updated: 12/Sep/19  Resolved: 04/Jan/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.13.0, Lustre 2.12.3

Type: Bug Priority: Major
Reporter: Sergey Cheremencev Assignee: Sergey Cheremencev
Resolution: Fixed Votes: 0
Labels: None

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

 Description   

Don't create and start new transaction in
osp_precreate_reserve (osp_sync_force)
because it has been already started in mdd_create.
New transaction rewrites oti_declare_ops_cred
resulting in assert in osd_trans_exec_op:

osd_trans_exec_op()) lustre-MDT0000: opcode 3: credits = 0, rollback = 4
osd_trans_exec_op()) ASSERTION( !ldiskfs_track_declares_assert ) failed: 


 Comments   
Comment by Gerrit Updater [ 17/Oct/18 ]

Sergey Cheremencev (c17829@cray.com) uploaded a new patch: https://review.whamcloud.com/33391
Subject: LU-11537 osp: avoid nested transaction
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 920977fc465db0a5aa58497950b4c9a6d1ae472d

Comment by Gerrit Updater [ 04/Jan/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33391/
Subject: LU-11537 osp: avoid nested transaction
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f9c20f472cb9f500a609bee1db68868cf2ac3c13

Comment by Peter Jones [ 04/Jan/19 ]

Landed for 2.13

Comment by Gerrit Updater [ 19/Aug/19 ]

Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35832
Subject: LU-11537 osp: avoid nested transaction
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: 2550271debb1a081cafedb78dcb997eb6c4016a2

Comment by Gerrit Updater [ 12/Sep/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35832/
Subject: LU-11537 osp: avoid nested transaction
Project: fs/lustre-release
Branch: b2_12
Current Patch Set:
Commit: 05b69e87e81f10a568993d9bba2c9631658364c7

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