tokio-rs / tokio-uring

An io_uring backed runtime for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for IO_LINK feature

SidongYang opened this issue · comments

Hi, we use tokio uring well in our work. and also we need IO_LINK feature in tokio uring.
I agree that we should consider API design for the link feature. #86

I wrote some example code that support flags in write_at, read_at API. It just add [read|write]_at_with_flags that add flags for original code. Also we need to unsubmitted read API for await in async task.
SidongYang#1

But I'm not sure that this code is good way to support flags. In example, it creates async tasks for await multiple events. I think it's little bad for tokio uring that uses single threaded.