]> 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)
commit000752f4b083206fc4ed1034cbd3f7ff3a28f61d
tree51ea48b19baf2d062a97457b30047b3440c565d6
parent8df6e9a62c5bba2868803dd32d2a62f68362e34f
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