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
Async direct IO is a very useful feature of io_uring, and it would be awesome to have this capability in here.
This will probably need another abstracted buffer API for aligned buffers.
It may be useful to look at the APIs in glommio for prior art.
The text was updated successfully, but these errors were encountered:
Linking a previous attempt adding DIO support #73
Sorry, something went wrong.
Hello!
I was looking at @ahrens comment in the earlier #73 issue here about being able to provide custom direct buffers by implementing traits.
This made me wonder whether it is possible today to use direct IO in tokio_uring by:
clib::O_DIRECT
File::from_std
This seems possible from what I understand about uring and what I've read in the tokio_uring docs.
Has anyone done this? Is there something I'm overlooking or a hidden gotcha I should be aware of, before I try it myself?
Direct IO is important for my database implementation, since I want to rely on my own cache instead of the OS buffer pool.
No branches or pull requests
Async direct IO is a very useful feature of io_uring, and it would be awesome to have this capability in here.
This will probably need another abstracted buffer API for aligned buffers.
It may be useful to look at the APIs in glommio for prior art.
The text was updated successfully, but these errors were encountered: