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 21:03:10 +0000 (15:03 -0600)
commit5ca57677cda6ea463276c72b3eddcd5482de081c
treeefa06bed0a63389467ebbddc25df2d77cb7af116
parentbbf5c979011a099af5dc76498918ed7df445635b
io_uring: allow timeout/poll/files killing to take task into account

commit 07d3ca52b0056f25eef61b1c896d089f8d365468 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