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
3535 __u32 accept_flags;
3636 __u32 cancel_flags;
3737 __u32 open_flags;
38+ __u32 statx_flags;
3839 };
3940 __u64 user_data; /* data to be passed back at completion time */
4041 union {
@@ -81,6 +82,7 @@ enum { · 40 unmodified lines
8182 IORING_OP_OPENAT,
8283 IORING_OP_CLOSE,
8384 IORING_OP_FILES_UPDATE,
85+ IORING_OP_STATX,
8486
8587 /* this goes last, obviously */
8688 IORING_OP_LAST,