commit | 05c5f4ee4da7086cceacc78bf3a080e314c241fa | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Sep 01 13:01:17 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Sep 02 11:12:16 2021 -0600 |
tree | 40b4e0b40f69458897cab7ba70edba0e1894b639 | |
parent | 15e20db2e0cecce0bfc6a67b69e55020fe9cda00 [diff] |
io-wq: get rid of FIXED worker flag It makes the logic easier to follow if we just get rid of the fixed worker flag, and simply ensure that we never exit the last worker in the group. This also means that no particular worker is special. Just track the last timeout state, and if we have hit it and no work is pending, check if there are other workers. If yes, then we can exit this one safely. Signed-off-by: Jens Axboe <axboe@kernel.dk>