aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-04-18 10:44:01 -0600
committerJens Axboe <axboe@kernel.dk>2022-04-24 18:18:18 -0600
commit4bf94615b8886305199ed5755cb72fea88258d15 (patch)
tree964ff739fbcc03dd9577aa501222637fff839c30 /lib/test_bitmap.c
parentio_uring: add support for IORING_ASYNC_CANCEL_ALL (diff)
downloadlinux-dev-4bf94615b8886305199ed5755cb72fea88258d15.tar.xz
linux-dev-4bf94615b8886305199ed5755cb72fea88258d15.zip
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 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions