Metadata writeback cache support (LU-10938)

[LU-15799] WBC: rename() support for WBC Created: 28/Apr/22  Updated: 14/Feb/23

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

Rank (Obsolete): 9223372036854775807

 Description   

This ticket tracks the rename() support for WBC.

The rename() operation uses a strategy similar to hardlink() operation. It deroots the parent inodes first, and then synchronizes them to the metadata server to perform the rename() operation. Nevertheless, we can do some optimization for rename() operation under WBC: if the parent directory of the source file and the target file are both in the state flagged with Complete (C) and not Flushed ( ̃F), the client can directly perform the rename() operation locally in MemFS.



 Comments   
Comment by Gerrit Updater [ 28/Apr/22 ]

"Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47165
Subject: LU-15799 wbc: add rename support for WBC
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7eb6103bcac820d1d3d35695b0ff903deea386d5

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