We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I open a file with custom flags like O_DIRECT?
O_DIRECT
I noticed that there is no custom_flags method in tokio_uring::fs::OpenOptions, unlike tokio::fs::OpenOptions. Is there any alternative way?
custom_flags
tokio_uring::fs::OpenOptions
tokio::fs::OpenOptions
Thx in advanced!
The text was updated successfully, but these errors were encountered:
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
tokio_uring
io_uring
flags: u64
Sorry, something went wrong.
No branches or pull requests
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!
The text was updated successfully, but these errors were encountered: