Massive directory metadata operation performance decrease (LU-14146)

[LU-15597] add an LDLM flag to mark lock is saved to avoid extra commit Created: 27/Feb/22  Updated: 02/Aug/23  Resolved: 02/Aug/23

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Technical task Priority: Minor
Reporter: Lai Siyao Assignee: Lai Siyao
Resolution: Done Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

On DNE system a write lock held by a transaction will be saved after transaction stop, and once it receives REP-ACK, this lock will be downgraded, however in this period, if a conflicting write lock is enqueued, it should trigger a commit, but if we know this lock is not saved, a "sync" flag can be set to avoid commit, and the commit will be triggered in saving time.



 Comments   
Comment by Gerrit Updater [ 27/Feb/22 ]

"Lai Siyao <lai.siyao@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/46642
Subject: LU-15597 mdt: add LDLM_FL_SAVED flag to avoid extra commit
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8ef84a8aa28ffeef89c092a15758e41b7e5c0a9d

Comment by Lai Siyao [ 02/Aug/23 ]

This is not needed after LU-17003.

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