[LU-15863] OST_WRITE can race with orphan cleanup Created: 17/May/22  Updated: 23/Jun/22

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

Type: Bug Priority: Minor
Reporter: Alex Zhuravlev Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

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

 Description   

when OST_WRITE arrives during OST recovery, then it just recreate object if the object doesn't exist. the orphan cleanup procedure starts when OST recovery is completed.
this leaves a window between OST recovery and the orphan cleanup procedure. if OST_WRITE this this window, then it may find the target object hasn't been created yet: returned ENOENT will be translated to an application as EIO.



 Comments   
Comment by Gerrit Updater [ 23/Jun/22 ]

"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47704
Subject: LU-15863 ofd: OST_WRITE to check for orphan cleanup
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 1046530f32d56f303877c50520445e38fc8b5e9c

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