• Jens Axboe's avatar
    io-wq: add support for uncancellable work · 0c9d5ccd
    Jens Axboe authored
    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>
    0c9d5ccd
io-wq.h 3.07 KB