tokio-rs / io-uring

The `io_uring` library for Rust
Apache License 2.0
1.21k stars 134 forks source link

relax sq.flags atomic read #282

Closed FrankReh closed 6 months ago

FrankReh commented 7 months ago

Change the atomic read of the SQ flags field to be relaxed.

Refer to discussions in #197 and in particular, as pointed out in #197, refer to the liburing library loads of this same field.

The liburing library names this field sq.kflags and all its atomic loads are performed with their IO_URING_READ_ONCE macro, which it defines to be the relaxed atomic load.

quininer commented 6 months ago

Thank you!