OSDN Git Service

io_uring: io_async_task_func() should check and honor cancelation
authorJens Axboe <axboe@kernel.dk>
Mon, 13 Apr 2020 17:16:34 +0000 (11:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 13 Apr 2020 17:22:52 +0000 (11:22 -0600)
commit2bae047ec9576da72d5003487de0bb93e747fff7
tree51ea48b19baf2d062a97457b30047b3440c565d6
parent74ce6ce43d4fc6ce15efb21378d9ef26125c298b
io_uring: io_async_task_func() should check and honor cancelation

If the request has been marked as canceled, don't try and issue it.
Instead just fill a canceled event and finish the request.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c