This provides support for async statx(2) through io_uring.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -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, |