Closed oxalica closed 5 months ago
Exposed types::FutexWaitV
and also fixed a typo in tests (waitv, not wakev).
I noticed that io-uring-test fails test_udp_recvmsg_multishot_trunc
on my machine (io-uring-test/src/tests/net.rs:1549:25, assertion failed: msg.is_payload_truncated()
), not sure if it's something kernel related (I'm on 6.9.0-rc2). But at least it seems unrelated.
Thank you!
These opcodes are available since Linux 6.7, and are mentioned by #253.
FutexWaitV
expects a new structfutex_waitv
which is available in linux-raw-sys. An opaque type is added to the main crate to avoid polling in the dependency.See:
IORING_OP_FUTEX_{WAIT,WAKE}
: https://github.com/torvalds/linux/commit/194bb58c6090e39bd7d9b9c888a079213628e1f6IORING_OP_FUTEX_WAITV
: https://github.com/torvalds/linux/commit/8f350194d5cfd7016d4cd44e433df0faa4d4a703