summaryrefslogtreecommitdiff
path: root/src/include/liburing/io_uring.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-04-16 14:45:38 -0600
committerJens Axboe <axboe@kernel.dk>2022-04-16 14:45:38 -0600
commitd02460d876daec91293aa025f0cfb3af59dcccd4 (patch)
treeb95485e2cd510cdc38706565ea0c3f9b85dfe697 /src/include/liburing/io_uring.h
parent6a504852c2c5fa8af18e54263515ab5723cad2c9 (diff)
downloadliburing-d02460d876daec91293aa025f0cfb3af59dcccd4.tar.gz
liburing-d02460d876daec91293aa025f0cfb3af59dcccd4.tar.bz2
io_uring.h: add IORING_ASYNC_CANCEL_ANY
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/include/liburing/io_uring.h')
-rw-r--r--src/include/liburing/io_uring.h2
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)