]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
io-wq: wait for worker startup when forking a new one
authorJens Axboe <axboe@kernel.dk>
Fri, 26 Feb 2021 16:50:55 +0000 (09:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Mar 2021 17:21:06 +0000 (10:21 -0700)
commit65d43023171edc0d27208f6ac7a1a73732950cf7
treebcaa43248f63385b6056fc1fd7ab11e59e7356a7
parentfe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8
io-wq: wait for worker startup when forking a new one

We need to have our worker count updated before continuing, to avoid
cases where we repeatedly think we need a new worker, but a fork is
already in progress.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c