diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-04-10 02:26:52 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-04-15 08:10:26 -0600 |
commit | e45ec969d17acb0a1bea78c9c6c4403fceccd599 (patch) | |
tree | 42226420eec88edaa84faceeae9dba50daf2d206 /io_uring | |
parent | a5bff51850c8d533f3696d45749ab169dd49f8dd (diff) | |
download | linux-stable-e45ec969d17acb0a1bea78c9c6c4403fceccd599.tar.gz linux-stable-e45ec969d17acb0a1bea78c9c6c4403fceccd599.tar.bz2 linux-stable-e45ec969d17acb0a1bea78c9c6c4403fceccd599.zip |
io_uring: remove extra SQPOLL overflow flush
c1edbf5f081be ("io_uring: flag SQPOLL busy condition to userspace")
added an extra overflowed CQE flush in the SQPOLL submission path due to
backpressure, which was later removed. Remove the flush and let
io_cqring_wait() / iopoll handle it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/2a83b0724ca6ca9d16c7d79a51b77c81876b2e39.1712708261.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r-- | io_uring/io_uring.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 454d1d7695f6..885f701983d7 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -3238,8 +3238,6 @@ SYSCALL_DEFINE6(io_uring_enter, unsigned int, fd, u32, to_submit, */ ret = 0; if (ctx->flags & IORING_SETUP_SQPOLL) { - io_cqring_overflow_flush(ctx); - if (unlikely(ctx->sq_data->thread == NULL)) { ret = -EOWNERDEAD; goto out; |