diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-12-03 02:51:26 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-12-03 15:04:32 +0100 |
commit | da8c96906990f1108cb626ee7865e69267a3263b (patch) | |
tree | b8c0abab6954fd7209e6eeed658cb312e6193902 /include | |
parent | io_uring: ensure async punted connect requests copy data (diff) | |
download | linux-da8c96906990f1108cb626ee7865e69267a3263b.tar.xz linux-da8c96906990f1108cb626ee7865e69267a3263b.zip |
io_uring: mark us with IORING_FEAT_SUBMIT_STABLE
If this flag is set, applications can be certain that any data for
async offload has been consumed when the kernel has consumed the
SQE.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/io_uring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h index 4637ed1d9949..eabccb46edd1 100644 --- a/include/uapi/linux/io_uring.h +++ b/include/uapi/linux/io_uring.h @@ -157,6 +157,7 @@ struct io_uring_params { */ #define IORING_FEAT_SINGLE_MMAP (1U << 0) #define IORING_FEAT_NODROP (1U << 1) +#define IORING_FEAT_SUBMIT_STABLE (1U << 2) /* * io_uring_register(2) opcodes and arguments |