commit | c80ca4707d1aa8b6ba2cb8e57a521ebb6f9f22a2 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Apr 01 19:57:07 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 19:30:25 2021 -0600 |
tree | 300d3b98eacd64ba7377079eb7156977a64b2c01 | |
parent | c7aab1a7c52b82d9afd7e03c398eb03dc2aa0507 [diff] |
io-wq: cancel task_work on exit only targeting the current 'wq' With using task_work_cancel(), we're potentially canceling task_work that isn't related to this specific io_wq. Use the newly added task_work_cancel_match() to ensure that we only remove and cancel work items that are specific to this io_wq. Fixes: 685fe7feedb9 ("io-wq: eliminate the need for a manager thread") Signed-off-by: Jens Axboe <axboe@kernel.dk>