Skip to content

Fix bitrot - #714

Open
vlovich wants to merge 5 commits into
DataDog:masterfrom
vlovich:fix-bitrot
Open

vlovich wants to merge 5 commits into
DataDog:masterfrom
vlovich:fix-bitrot

Conversation

@vlovich

@vlovich vlovich commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Bump liburing to 2.15 to fix compilation issues.
Fix cargo clippy warnings printed by Rust 1.97
Deflake test_spin harder

Motivation

The project currently doesn't build.

Related issues

N/A

Additional Notes

N/A

Checklist

[N/A] I have added unit tests to the code I am submitting
[N/A] My unit tests cover both failure and success scenarios
[N/A] If applicable, I have discussed my architecture

@vlovich
vlovich force-pushed the fix-bitrot branch 2 times, most recently from 813af3e to ad2432d Compare September 3, 2026 21:45
Need to define LIBURING_INTERNAL because it's now static inline in the
header by default but that doesn't work for a Rust build.
rand 0.10 carries breaking changes that break parts of the build. Since
it's only used for test code, there's no serious impetus to fix 0.10
compat.
@vlovich
vlovich force-pushed the fix-bitrot branch 2 times, most recently from c6527e5 to cd2303a Compare September 3, 2026 23:57
@datadog-prod-us1-5

This comment has been minimized.

The reactor incorrectly assumed that a successful read of an empty file
meant that the device support IOPOLL. That isn't actually the case as
the kernel short-circuits that logic early into a success code. Instead,
when we find the first operation on a device is opening an empty file,
we create a sibling anonymous file and write some data for it that can
be read back. This is a more reliable IOPOLL mechanism that won't get
fooled into thinking a device supports IOPOLL when it doesn't.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant