commit | 67c4d9e693e3bb7fb968af24e3584f821a78ba56 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Jun 15 10:24:05 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jun 15 08:51:34 2020 -0600 |
tree | 42e04a457b996b4609606b411f5aa16481d54f7d | |
parent | 44e728b8aae0bb6d4229129083974f9dea43f50b [diff] |
io_uring: batch cancel in io_uring_cancel_files() Instead of waiting for each request one by one, first try to cancel all of them in a batched manner, and then go over inflight_list/etc to reap leftovers. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>