commit | fc04c39bae01a607454f7619665309870c60937a | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Mar 01 19:18:19 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 02 07:20:08 2020 -0700 |
tree | 172b9b53f27f097655777788901405cf134f6723 | |
parent | 98d54f81e36ba3bf92172791eba5ca5bd813989b [diff] |
io-wq: fix IO_WQ_WORK_NO_CANCEL cancellation To cancel a work, io-wq sets IO_WQ_WORK_CANCEL and executes the callback. However, IO_WQ_WORK_NO_CANCEL works will just execute and may return next work, which will be ignored and lost. Cancel the whole link. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>