]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: fix lack of acct->nr_workers < acct->max_workers judgement
authorHao Xu <haoxu@linux.alibaba.com>
Thu, 5 Aug 2021 10:05:38 +0000 (18:05 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 6 Aug 2021 14:28:18 +0000 (08:28 -0600)
commit5c2d03b88a4e125c31a60246744eb2926f908ad3
tree5d721629d54c549b8f4d3a5a0fb97c45be228108
parent8026ea86c9875541d71df52689b45add0b2a2d7c
io-wq: fix lack of acct->nr_workers < acct->max_workers judgement

There should be this judgement before we create an io-worker

Fixes: 96340f5adddc ("io-wq: eliminate the need for a manager thread")
Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c