Skip to content
Commit 0c9d5ccd authored by Jens Axboe's avatar Jens Axboe
Browse files

io-wq: add support for uncancellable work



Not all work can be cancelled, some of it we may need to guarantee
that it runs to completion. Allow the caller to set IO_WQ_WORK_NO_CANCEL
on work that must not be cancelled. Note that the caller work function
must also check for IO_WQ_WORK_NO_CANCEL on work that is marked
IO_WQ_WORK_CANCEL.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6e802a4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment