io-wq: don't ask for a new worker if we're exiting
authorJens Axboe <axboe@kernel.dk>
Fri, 26 Feb 2021 16:52:02 +0000 (09:52 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Mar 2021 17:21:06 +0000 (10:21 -0700)
commitbbdb873fd59e9aa97eddf3847ee37fa66797c084
treeb832c9381d93c15d3d98c48e30e1135dff17c524
parent9196d672605c17d3f3ad8e7019275a79968637d4
io-wq: don't ask for a new worker if we're exiting

If we're in the process of shutting down the async context, then don't
create new workers if we already have at least the fixed one.

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