Open zRegle opened 3 months ago
tokio_uring
doesn't have much real support for direct_io. In this io_uring
library it just takes flags: u64
though so you can do it but it is very low level https://docs.rs/io-uring/latest/io_uring/opcode/struct.OpenAt2.html
Can I open a file with custom flags like
O_DIRECT
?I noticed that there is no
custom_flags
method intokio_uring::fs::OpenOptions
, unliketokio::fs::OpenOptions
. Is there any alternative way?Thx in advanced!