]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove useless ->startup completion
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 11 Mar 2021 23:29:36 +0000 (23:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Mar 2021 14:23:01 +0000 (07:23 -0700)
commit1e3203157de5672fdb037095478919dfe028c1be
tree5891c0e97d996e224d468ff974ec8295c722f9cb
parent0a4f7f5835e85e20426dbb39ef9ef9b8f915d106
io_uring: remove useless ->startup completion

We always do complete(&sqd->startup) almost right after sqd->thread
creation, either in the success path or in io_sq_thread_finish(). It's
specifically created not started for us to be able to set some stuff
like sqd->thread and io_uring_alloc_task_context() before following
right after wake_up_new_task().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c