tokio-rs / tokio-uring

An io_uring backed runtime for Rust
MIT License
1.13k stars 122 forks source link

io_uring command support? #287

Open ming1 opened 10 months ago

ollie-etl commented 10 months ago

Could you provide a bit more information on your query here please? Its not obvious what the issue is.

ming1 commented 10 months ago

Hello,

Could you provide a bit more information on your query here please? Its not obvious what the issue is.

uring command[1] is added to linux kernel v5.20, and it aims at fast userspace storage, such as:

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/io_uring/uring_cmd.c

1) xnvme

https://xnvme.io/

2) ublk

https://github.com/ming1/ubdsrv

3) maybe more

However tokio-uring doesn't export such OP, so I raise this issue, and I guess it shouldn't be very hard to add such feature.

Thanks,

ming1 commented 10 months ago
2. ublk

https://github.com/ming1/ubdsrv

https://github.com/ming1/libublk-rs