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>
Sun, 28 Feb 2021 19:20:36 +0000 (12:20 -0700)
commit38feb4be38e3222b0484d6621c913f24add65adf
tree4f326594bb454923f909c631911fbd4fa26213bc
parent3c86b7b49a1151454b06e1947fc93241c214f2fb
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