commit | 36e4c58bf044b07204c8c7e6dd7c2384e439921a | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Jan 18 19:18:20 2022 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jan 18 19:27:59 2022 -0700 |
tree | b1a748ee1e548329d65e213c2356ce6e00059b45 | |
parent | 081b58204629eff9dd93e7f68ed15c8aa6452a4b [diff] |
io-wq: invoke work cancelation with wqe->lock held io_wqe_cancel_pending_work() grabs it internally, grab it upfront instead. For the running work cancelation, grab the lock around it as well. Signed-off-by: Jens Axboe <axboe@kernel.dk>