]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add IORING_ASYNC_CANCEL_FD_FIXED cancel flag
authorJens Axboe <axboe@kernel.dk>
Sat, 18 Jun 2022 15:47:04 +0000 (09:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:15 +0000 (18:39 -0600)
commite0a1b21cab241d58280dee10f3478333421789d7
treed89bb366d830adc72fa28689dd8b3e9d56c44ab3
parent19fd2e5cd195f14117e1b0592c017fac68dfbb65
io_uring: add IORING_ASYNC_CANCEL_FD_FIXED cancel flag

In preparation for not having a request to pass in that carries this
state, add a separate cancelation flag that allows the caller to ask
for a fixed file for cancelation.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
io_uring/cancel.c