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>
Thu, 4 Mar 2021 13:32:53 +0000 (06:32 -0700)
commit613eeb600e3e636a1d3b3711dddaf2b134d5a32c
tree5d8ab227be83213d56d457b392f9c9539e8d8fad
parentfb3a1f6c745ccd896afadf6e2d6f073e871d38ba
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