diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-04-18 19:44:01 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-25 03:18:18 +0300 |
commit | 4bf94615b8886305199ed5755cb72fea88258d15 (patch) | |
tree | 964ff739fbcc03dd9577aa501222637fff839c30 /scripts/gdb/linux/utils.py | |
parent | 8e29da69feade64ec7fe9e1a2824b967c5183a21 (diff) | |
download | linux-4bf94615b8886305199ed5755cb72fea88258d15.tar.xz |
io_uring: allow IORING_OP_ASYNC_CANCEL with 'fd' key
Currently sqe->addr must contain the user_data of the request being
canceled. Introduce the IORING_ASYNC_CANCEL_FD flag, which tells the
kernel that we're keying off the file fd instead for cancelation. This
allows canceling any request that a) uses a file, and b) was assigned the
file based on the value being passed in.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20220418164402.75259-5-axboe@kernel.dk
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions