History

io_uring: add support for IORING_OP_STATX

This provides support for async statx(2) through io_uring.

Jens Axboe committed 6 years ago

Commit eddc7ef1 parent 3934e362 files · +87 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/io_uring.h+2−0
@@ -35,6 +35,7 @@ struct io_uring_sqe { · 34 unmodified lines
35 __u32 accept_flags;35 __u32 accept_flags;
36 __u32 cancel_flags;36 __u32 cancel_flags;
37 __u32 open_flags;37 __u32 open_flags;
38 __u32 statx_flags;
38 };39 };
39 __u64 user_data; /* data to be passed back at completion time */40 __u64 user_data; /* data to be passed back at completion time */
40 union {41 union {
@@ -81,6 +82,7 @@ enum { · 40 unmodified lines
81 IORING_OP_OPENAT,82 IORING_OP_OPENAT,
82 IORING_OP_CLOSE,83 IORING_OP_CLOSE,
83 IORING_OP_FILES_UPDATE,84 IORING_OP_FILES_UPDATE,
85 IORING_OP_STATX,
84 86
85 /* this goes last, obviously */87 /* this goes last, obviously */
86 IORING_OP_LAST,88 IORING_OP_LAST,