Skip to content
New issue

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

support linux io_uring #95

Open
Xudong-Huang opened this issue Jul 1, 2022 · 1 comment
Open

support linux io_uring #95

Xudong-Huang opened this issue Jul 1, 2022 · 1 comment

Comments

@Xudong-Huang
Copy link
Owner

No description provided.

@Mek101
Copy link

Mek101 commented Feb 28, 2023

May I suggest an interface based/inspired upon AsyncBufRead?
https://without.boats/blog/io-uring/

Basically the "caller borrowing a mutable buffer to the interface" doesn't work really well with io_uring, and since io_uring itself can manage buffers, putting the existing model upside-down with the caller borrowing from the interface, may be the best option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants