commit | 0c9d5ccd26a004f59333c06fbbb98f9cb1eed93d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Dec 11 19:29:43 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jan 20 17:01:53 2020 -0700 |
tree | 44cdf8ba1137666d0194c3fbe2d995d2138fa456 | |
parent | 6e802a4ba056a6f2f51ac9d54eead3ed6f9829a2 [diff] |
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: Jens Axboe <axboe@kernel.dk>