[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 |