Add support for synchronous zero read/write for mock files.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -5,6 +5,7 @@ · 4 unmodified lines | ||
| 5 | 5 | |
| 6 | 6 | enum { |
| 7 | 7 | IORING_MOCK_FEAT_CMD_COPY, |
| 8 | + IORING_MOCK_FEAT_RW_ZERO, | |
| 8 | 9 | |
| 9 | 10 | IORING_MOCK_FEAT_END, |
| 10 | 11 | }; |
| @@ -17,7 +18,8 @@ struct io_uring_mock_probe { · 6 unmodified lines | ||
| 17 | 18 | struct io_uring_mock_create { |
| 18 | 19 | __u32 out_fd; |
| 19 | 20 | __u32 flags; |
| 20 | − __u64 __resv[15]; | |
| 21 | + __u64 file_size; | |
| 22 | + __u64 __resv[14]; | |
| 21 | 23 | }; |
| 22 | 24 | |
| 23 | 25 | enum { |