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(-) -- 2.41.0