]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove extra sqpoll submission halting
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 18 Apr 2021 13:52:08 +0000 (14:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Apr 2021 17:34:32 +0000 (11:34 -0600)
commit17241b003868a832b78873b16c77149674782dfb
tree2cb7c07be8e6c3f98b195b216f783f6cb17920ba
parent0bcc63036f03e2ef7a92023b6f44313d04e1f04e
io_uring: remove extra sqpoll submission halting

SQPOLL task won't submit requests for a context that is currently dying,
so no need to remove ctx from sqd_list prior the main loop of
io_ring_exit_work(). Kill it, will be removed by io_sq_thread_finish()
and only brings confusion and lockups.

Cc: stable@vger.kernel.org
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f220c2b786ba0f9499bebc9f3cd9714d29efb6a5.1618752958.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c