Skip to content

Inline sqe_submit

Pavel Begunkov io-uring linux-block 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 4 repliesSuperseded
  3. v1 RFC3 patches 6 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3io_uring: allocate io_kiocb upfrontfs/io_uring.c+14 -131 reply
2/3io_uring: Use submit info inlined into reqfs/io_uring.c+16 -160 replies
3/3io_uring: use inlined struct sqe_submitfs/io_uring.c+43 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] Inline sqe_submit

The idea is to not pass struct sqe_submit as a separate entity, but always use req->submit instead, so there will be less stuff to care about.

Also, I've got steady +1% throughput improvement for nop tests. Though, it's highly system-dependent, and I wouldn't count on it.

v2: fix use-after-free catched by Jens

v3: -EAGAIN, in case submission failed

Pavel Begunkov (3):
io_uring: allocate io_kiocb upfront
io_uring: Use submit info inlined into req
io_uring: use inlined struct sqe_submit

 fs/io_uring.c | 134 +++++++++++++++++++++++++-------------------------
 1 file changed, 67 insertions(+), 67 deletions(-)
Signature · 1 line
2.23.0