summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-13 21:18:10 -0700
committerJens Axboe <axboe@kernel.dk>2020-01-20 17:03:54 -0700
commiteddc7ef52a6b37b7ba3d1c8a8fbb63d5d9914f8a (patch)
tree94284b2f09d3477955ffca87c8f6cf55c5b227f5 /include/uapi
parent3934e36f6099e6277db33f433fe135c6644e8ac2 (diff)
io_uring: add support for IORING_OP_STATX
This provides support for async statx(2) through io_uring. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/io_uring.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index ca436b9d4921..3f45f7c543de 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -35,6 +35,7 @@ struct io_uring_sqe {
__u32 accept_flags;
__u32 cancel_flags;
__u32 open_flags;
+ __u32 statx_flags;
};
__u64 user_data; /* data to be passed back at completion time */
union {
@@ -81,6 +82,7 @@ enum {
IORING_OP_OPENAT,
IORING_OP_CLOSE,
IORING_OP_FILES_UPDATE,
+ IORING_OP_STATX,
/* this goes last, obviously */
IORING_OP_LAST,