io_uring/cancel: support opcode based lookup and cancelation
authorJens Axboe <axboe@kernel.dk>
Fri, 23 Jun 2023 16:36:43 +0000 (10:36 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 10 Jul 2023 16:51:28 +0000 (10:51 -0600)
commit48a79febf38881c0701b2e1e196c4e7e633116b9
tree53d4538bc58611db71d2574ebdcb4c0627c9636f
parent7e6cbcfe172d83eebbbaf0f053b5615e3a19df6d
io_uring/cancel: support opcode based lookup and cancelation

Add IORING_ASYNC_CANCEL_OP flag for cancelation, which allows the
application to target cancelation based on the opcode of the original
request.

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