[LU-16703] fix aio race with buffered IO Created: 03/Apr/23  Updated: 03/Apr/23

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

Type: Improvement Priority: Minor
Reporter: Patrick Farrell Assignee: Patrick Farrell
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

When AIO races with buffered IO, the direct I/O (AIO is direct I/O) can fall back to buffered I/O.  This changes the return behavior, and can trigger a bug where we do not complete the AIO in the expected manner, resulting in us reporting 0 bytes completed to userspace.



 Comments   
Comment by Patrick Farrell [ 03/Apr/23 ]

Transferring from original ticket:

"Patrick Farrell <pfarrell@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49915
Subject: LU-16703 llite: Fix return for non-queued aio
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 40cb4a09d4188f5ba8c4c88be365f823d4f041a0

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