History

io_uring: add support for IORING_OP_UNLINKAT

IORING_OP_UNLINKAT behaves like unlinkat(2) and takes the same flags and arguments.

Jens Axboe committed 6 years ago

Commit 14a11431 parent 80a261f2 files · +66 −0Browse files

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

Unified · Split

include/uapi/linux/io_uring.h+2−0
@@ -43,6 +43,7 @@ struct io_uring_sqe { · 42 unmodified lines
43 __u32 fadvise_advice;43 __u32 fadvise_advice;
44 __u32 splice_flags;44 __u32 splice_flags;
45 __u32 rename_flags;45 __u32 rename_flags;
46 __u32 unlink_flags;
46 };47 };
47 __u64 user_data; /* data to be passed back at completion time */48 __u64 user_data; /* data to be passed back at completion time */
48 union {49 union {
@@ -135,6 +136,7 @@ enum { · 86 unmodified lines
135 IORING_OP_TEE,136 IORING_OP_TEE,
136 IORING_OP_SHUTDOWN,137 IORING_OP_SHUTDOWN,
137 IORING_OP_RENAMEAT,138 IORING_OP_RENAMEAT,
139 IORING_OP_UNLINKAT,
138 140
139 /* this goes last, obviously */141 /* this goes last, obviously */
140 IORING_OP_LAST,142 IORING_OP_LAST,