tokio-rs / mio

Metal I/O library for Rust.
MIT License
6.41k stars 739 forks source link

Inquiry About IO Uring Support #1842

Open aabolfazl opened 1 week ago

aabolfazl commented 1 week ago

Description

Is there currently anyone working on adding IO Uring support to the mio library?

Proposal

If no one is actively working on this feature, I would like to open a pull request to implement IO Uring support.

Please let me know if it is okay to proceed with this contribution.

Thank you!

Thomasdezeeuw commented 1 week ago

Mio v1 will not support io_uring, it's simply not possible with the current API. However I'm working on io_uring in https://github.com/Thomasdezeeuw/a10. I'm currently porting it to other OS when I have time (which is quite limited).

Thomasdezeeuw commented 1 week ago

Also see https://github.com/tokio-rs/mio/issues/1591.

aabolfazl commented 1 week ago

@Thomasdezeeuw Thanks for replying. I checked the A10. Is there anything I can contribute to it? I think I can help you with io_ring implementation.

Thomasdezeeuw commented 5 days ago

Currently I'm working on porting the code to other-than-Linux targets in the port branch https://github.com/Thomasdezeeuw/a10/tree/port (link will break at some point). It's very much a work in progress though, not quite ready for external contributions.

The code on main is ready for testing though, so let me know what you think of the API (I'm trying to keep this roughly the same in the port).