compio-rs / compio-rs/compio

feature request: support submit multi sqe with link at once

Open
#762 0 comments 0 reactions 0 assignees View on GitHub
difficulty: hard driver: io-uring
Dominant language
Rust
Stars
1.9k
Forks
133
Avg merge
1d 4h
Merged PRs (30d)
20

Description

currently the [submit](https://docs.rs/compio/latest/compio/runtime/fn.submit.html) only support submit 1 op

however, in io-uring, the kernel support submit a batch sqe with [IO_LINK](https://docs.rs/io-uring/latest/io_uring/squeue/struct.Flags.html#associatedconstant.IO_LINK)

this allow user submit a batch sequence ops, and wait them complete, with only 1 submit call

A common case is when you have a batch of data to write into the fd which is datagram mode

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.