]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
io_uring: kill sqo_dead and sqo submission halting
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 1 Mar 2021 13:02:15 +0000 (13:02 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 4 Mar 2021 13:37:55 +0000 (06:37 -0700)
commit70aacfe66136809d7f080f89c492c278298719f4
tree2876571cec202a97b44a95d6e860f2e843a2b5f8
parent1c3b3e6527e57156bf4082f11c2151957560fe6a
io_uring: kill sqo_dead and sqo submission halting

As SQPOLL task doesn't poke into ->sqo_task anymore, there is no need to
kill the sqo when the master task exits. Before it was necessary to
avoid races accessing sqo_task->files with removing them.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
[axboe: don't forget to enable SQPOLL before exit, if started disabled]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c