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, 17 Jul 2023 16:05:48 +0000 (10:05 -0600)
commitd7b8b079a8f6bc007d06d9ee468659dae6053e13
tree7d88ae7a599105768622657c396ca7ccb6d5ace6
parent8165b566049b14152873011ea540eb22eae5111d
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