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>
Mon, 12 Oct 2020 20:59:32 +0000 (14:59 -0600)
commit07d3ca52b0056f25eef61b1c896d089f8d365468
treeff3521756d26486bd76403bfffb6661506711b2d
parentff7d2874b5e51d2bc056d60e06cee56403fe02ff
io_uring: allow timeout/poll/files killing to take task into account

commit f3606e3a92ddd36299642c78592fc87609abb1f6 upstream.

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