History

io_uring: add support for IORING_OP_SYNC_FILE_RANGE

This behaves just like sync_file_range(2) does.

Jens Axboe committed 7 years ago

Commit 5d17b4a1 parent 22f96b32 files · +53 −0Browse files

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

Unified · Split

include/uapi/linux/io_uring.h+2−0
@@ -26,6 +26,7 @@ struct io_uring_sqe { · 25 unmodified lines
2626 __kernel_rwf_t rw_flags;
2727 __u32 fsync_flags;
2828 __u16 poll_events;
29+ __u32 sync_range_flags;
2930 };
3031 __u64 user_data; /* data to be passed back at completion time */
3132 union {
@@ -55,6 +56,7 @@ struct io_uring_sqe { · 23 unmodified lines
5556 #define IORING_OP_WRITE_FIXED 5
5657 #define IORING_OP_POLL_ADD 6
5758 #define IORING_OP_POLL_REMOVE 7
59+#define IORING_OP_SYNC_FILE_RANGE 8
5860
5961 /*
6062 * sqe->fsync_flags

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t