OSDN Git Service

io_uring: allow timeout/poll/files killing to take task into account
authorJens Axboe <axboe@kernel.dk>
Tue, 22 Sep 2020 14:18:24 +0000 (08:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:32 +0000 (20:32 -0600)
commitf3606e3a92ddd36299642c78592fc87609abb1f6
tree8be13f016d0adf2742fae2f1c8dac610b78f51e3
parent0f078896911fc6a421b0e708e910b99a28f8a0fa
io_uring: allow timeout/poll/files killing to take task into account

We currently cancel these when the ring exits, and we cancel all of
them. This is in preparation for killing only the ones associated
with a given task.

Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c