commit | b05a1bcd40184f12f2cd87db79e871aa8c17563f | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Mar 04 13:59:24 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Mar 04 15:44:50 2021 -0700 |
tree | 6bf16f9b3f0d73084341fb55cf4c340f0aed73bc | |
parent | f01272541d2cd7b7f24909d63ea2b028a6a66293 [diff] |
io_uring: cancel-match based on flags Instead of going into request internals, like checking req->file->f_op, do match them based on REQ_F_INFLIGHT, it's set only when we want it to be reliably cancelled. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>