diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-02-20 11:36:35 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-05-16 09:24:47 -0600 |
commit | d6927ea5786d3056dabf696c6861cc10a864de79 (patch) | |
tree | f280a2bde53abeeb831ee6de07d753b87c2ab2d1 | |
parent | 4d6a12e5d6bd7d7260d202cf888c911a039376ea (diff) | |
download | liburing-d6927ea5786d3056dabf696c6861cc10a864de79.tar.gz liburing-d6927ea5786d3056dabf696c6861cc10a864de79.tar.bz2 |
io_uring.h: add IORING_SETUP_SQE128
This asks the kernel to setup a ring with 128-byte SQE entries. May fail
with -EINVAL if the kernel doesn't support this feature. If the kernel
does support the feature, then the ring will support big sqe entries
which some commands may require.
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 166d8ca..ad9c929 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -108,6 +108,7 @@ enum { #define IORING_SETUP_ATTACH_WQ (1U << 5) /* attach to existing wq */ #define IORING_SETUP_R_DISABLED (1U << 6) /* start with ring disabled */ #define IORING_SETUP_SUBMIT_ALL (1U << 7) /* continue submit on error */ +#define IORING_SETUP_SQE128 (1U << 8) /* SQEs are 128b */ enum { IORING_OP_NOP, |