Skip to content

random fixes and cleanups

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7io_uring/net: don't overflow multishot acceptio_uring/net.c+1 -10 replies
2/7io_uring/net: don't overflow multishot recvio_uring/net.c+1 -13 replies
3/7io_uring: open code io_fill_cqe_req()io_uring/io_uring.c io_uring/io_uring.h io_uring/rw.c+7 -140 replies
4/7io_uring: remove return from io_req_cqe_overflow()io_uring/io_uring.c io_uring/io_uring.h+5 -50 replies
5/7io_uring: never overflow io_aux_cqeio_uring/io_uring.c io_uring/io_uring.h io_uring/net.c +2 more+16 -140 replies
6/7io_uring/rsrc: keep one global dummy_ubufio_uring/io_uring.c io_uring/rsrc.c+10 -130 replies
7/7io_uring: simplify io_run_task_work_sig returnio_uring/io_uring.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] random fixes and cleanups

Patch 1 and 2 don't allow multishot recv and accept to overflow cqes indefinitely, the concept we're always trying to stick to is that the request should complete, then userspace have to empty the CQ and reissue.

Note, it breaks test/recv-multishot, I consider the test being in the wrong, it should not rely on the overflow behaviour, and I'm going to fix it.

Patch 3-7 are simple intermediate cleanups on top.

Pavel Begunkov (7):
io_uring/net: don't overflow multishot accept io_uring/net: don't overflow multishot recv
io_uring: open code io_fill_cqe_req()
io_uring: remove return from io_req_cqe_overflow()
io_uring: never overflow io_aux_cqe io_uring/rsrc: keep one global dummy_ubuf
io_uring: simplify io_run_task_work_sig return

 io_uring/io_uring.c | 40 ++++++++++++++++++----------------------
 io_uring/io_uring.h | 16 +++-------------
 io_uring/net.c      |  8 ++++----
 io_uring/poll.c     |  4 ++--
 io_uring/rsrc.c     | 14 ++++++++++----
 io_uring/rw.c       |  2 +-
 io_uring/timeout.c  |  4 ++--
 7 files changed, 40 insertions(+), 48 deletions(-)
Signature · 1 line
2.41.0