]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit3b763ba1c77da5806e4fdc5684285814fe970c98
tree2cb7c07be8e6c3f98b195b216f783f6cb17920ba
parent75c4021aacbd9b5cc13b173d32b49007fd8ccada
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