diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-04-16 14:45:38 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-16 14:45:38 -0600 |
commit | d02460d876daec91293aa025f0cfb3af59dcccd4 (patch) | |
tree | b95485e2cd510cdc38706565ea0c3f9b85dfe697 | |
parent | 6a504852c2c5fa8af18e54263515ab5723cad2c9 (diff) | |
download | liburing-d02460d876daec91293aa025f0cfb3af59dcccd4.tar.gz liburing-d02460d876daec91293aa025f0cfb3af59dcccd4.tar.bz2 |
io_uring.h: add IORING_ASYNC_CANCEL_ANY
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | src/include/liburing/io_uring.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index 2816f6c..55f8869 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -197,9 +197,11 @@ enum { * IORING_ASYNC_CANCEL_ALL Cancel all requests that match the given key * IORING_ASYNC_CANCEL_FD Key off 'fd' for cancelation rather than the * request 'user_data' + * IORING_ASYNC_CANCEL_ANY Match any request */ #define IORING_ASYNC_CANCEL_ALL (1U << 0) #define IORING_ASYNC_CANCEL_FD (1U << 1) +#define IORING_ASYNC_CANCEL_ANY (1U << 2) /* * IO completion data structure (Completion Queue Entry) |