commit | 3f48cf18f886c97a7e775af10696bfed9ddcff31 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Apr 11 01:46:27 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 19:30:41 2021 -0600 |
tree | 00d78698ad48b43a7076c32e22da7ad77c106ecc | |
parent | b303fe2e5a3802b0b1fb8d997e5c9caef48f6dd8 [diff] |
io_uring: unify files and task cancel Now __io_uring_cancel() and __io_uring_files_cancel() are very similar and mostly differ by how we count requests, merge them and allow tctx_inflight() to handle counting. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/1a5986a97df4dc1378f3fe0ca1eb483dbcf42112.1618101759.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>