diff options
| author | Greg Kroah-Hartman | 2025-06-17 15:42:12 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2025-06-27 11:07:24 +0100 |
| commit | b9794e5d73cc9c8e4c4f657449d362001cfc11d7 (patch) | |
| tree | 74fc334ed03a9118a189441a593b6575f3975d83 /io_uring | |
| parent | a8f842534807985d3a676006d140541b87044345 (diff) | |
Revert "io_uring: ensure deferred completions are posted for multishot"
This reverts commit b82c386898f7b00cb49abe3fbd622017aaa61230 which is
commit 687b2bae0efff9b25e071737d6af5004e6e35af5 upstream.
Jens writes:
There's some missing dependencies that makes this not work
right, I'll bring it back in a series instead.
Link: https://lore.kernel.org/r/313f2335-626f-4eea-8502-d5c3773db35a@kernel.dk
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'io_uring')
| -rw-r--r-- | io_uring/io_uring.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index ad462724246a..abefc334cf7d 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -820,14 +820,6 @@ bool io_post_aux_cqe(struct io_ring_ctx *ctx, { bool filled; - /* - * If multishot has already posted deferred completions, ensure that - * those are flushed first before posting this one. If not, CQEs - * could get reordered. - */ - if (!wq_list_empty(&ctx->submit_state.compl_reqs)) - __io_submit_flush_completions(ctx); - io_cq_lock(ctx); filled = io_fill_cqe_aux(ctx, user_data, res, cflags, allow_overflow); io_cq_unlock_post(ctx); |
