• J
    io-wq: add support for uncancellable work · 0c9d5ccd
    Jens Axboe 提交于
    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: NJens Axboe <axboe@kernel.dk>
    0c9d5ccd
io_uring.c 133.8 KB