Metadata writeback cache support (LU-10938)

[LU-13577] WBC: implement mkdir() by using intent lock Created: 18/May/20  Updated: 10/Jan/22

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

Type: Technical task Priority: Minor
Reporter: Qian Yingjin Assignee: Qian Yingjin
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

WBC basic framework patch is failed the sanity with DNE environment even without WBC feature enabled. To make the basic WBC patches to pass the sanity testing, this ticket is created to separate the new mkdir implementation by using intent lock from WBC.



 Comments   
Comment by Gerrit Updater [ 18/May/20 ]

Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/38647
Subject: LU-13577 wbc: reimplement mkdir() by using intent lock
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 96cfe328988d2ad70e15c203a66b77c483040629

Comment by Qian Yingjin [ 21/Aug/20 ]

The following is Siyao's comment about the patch:
Implementing mkdir() by using intent lock is basically wrong: mkdir is a reint operation, if it is done in the way using intent lock, it can not guarantee recovery works. If using intent lock, during recovery it will just replay the lock, will not replay to re-execute the mkdir request...

Hi Andreas,
Could you please comment on it?

Thanks,
Qian

Comment by Gerrit Updater [ 03/Nov/20 ]

Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/40529
Subject: LU-13577 wbc: commit update accroding to lock transno
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: db79a18ec24618454150d181d39e9a2c1abf9dfa

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