]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbddf6e8a94634b8874a9bbd94c056b1f8cbbe83b
tree5d8ab227be83213d56d457b392f9c9539e8d8fad
parent200cf0bccce29cd7363deee7513e9037acf11608
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