diff options
author | 2022-04-18 10:44:02 -0600 | |
---|---|---|
committer | 2022-04-24 18:18:18 -0600 | |
commit | 970f256edb8c1259c8ed48d52b38215135396126 (patch) | |
tree | 2e7c29aac5efd17b3be8b61fc5f6dfdd3f3dde5b /lib/test_bitmap.c | |
parent | io_uring: allow IORING_OP_ASYNC_CANCEL with 'fd' key (diff) | |
download | linux-dev-970f256edb8c1259c8ed48d52b38215135396126.tar.xz linux-dev-970f256edb8c1259c8ed48d52b38215135396126.zip |
io_uring: add support for IORING_ASYNC_CANCEL_ANY
Rather than match on a specific key, be it user_data or file, allow
canceling any request that we can lookup. Works like
IORING_ASYNC_CANCEL_ALL in that it cancels multiple requests, but it
doesn't key off user_data or the file.
Can't be set with IORING_ASYNC_CANCEL_FD, as that's a key selector.
Only one may be used at the time.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20220418164402.75259-6-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions