diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-04-14 11:17:34 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-14 11:17:34 -0600 |
commit | b418e563026380ee697c7cf9d9fbb26ea62d6cb8 (patch) | |
tree | a3a194cba94f54415327366b1294ae97e8ba49b3 | |
parent | 415c62fca6b8014bf9b03517c4d6e0e2e7ad02a9 (diff) | |
download | liburing-b418e563026380ee697c7cf9d9fbb26ea62d6cb8.tar.gz liburing-b418e563026380ee697c7cf9d9fbb26ea62d6cb8.tar.bz2 |
io_uring.h: add IORING_FEAT_LINKED_FILE
If this is set in features, applications can rely on file assignments
being done sanely in deferred execution setups (like links, or drain).
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | src/include/liburing/io_uring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index d858977..bfb3548 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -300,6 +300,7 @@ struct io_uring_params { #define IORING_FEAT_NATIVE_WORKERS (1U << 9) #define IORING_FEAT_RSRC_TAGS (1U << 10) #define IORING_FEAT_CQE_SKIP (1U << 11) +#define IORING_FEAT_LINKED_FILE (1U << 12) /* * io_uring_register(2) opcodes and arguments |