]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit576f5132d5067d001c56239c14aa6afb521aefd4
tree51ea48b19baf2d062a97457b30047b3440c565d6
parent1f2ea10679012a4a96bb5b03c7dc2c797a0517e6
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