diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-06-19 14:26:04 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-25 03:39:14 +0300 |
commit | d142c3ec8d160bea9801f0d727e92007787df8c0 (patch) | |
tree | d40cc2b1d8b34f3290ef50b65df308049629119c /io_uring/io_uring.c | |
parent | ad163a7e2562230c77102c60f668bac440e60cce (diff) | |
download | linux-d142c3ec8d160bea9801f0d727e92007787df8c0.tar.xz |
io_uring: remove extra io_commit_cqring()
We don't post events in __io_commit_cqring_flush() anymore but send all
requests to tw, so no need to do io_commit_cqring() there.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f2481e32375e749be89c42e4804268b608722cef.1655637157.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
-rw-r--r-- | io_uring/io_uring.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index ef4371790aaa..efad2d9b7b42 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -480,7 +480,6 @@ void __io_commit_cqring_flush(struct io_ring_ctx *ctx) io_flush_timeouts(ctx); if (ctx->drain_active) io_queue_deferred(ctx); - io_commit_cqring(ctx); spin_unlock(&ctx->completion_lock); } if (ctx->has_evfd) |