summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-05-17 13:18:06 +0200
committerJens Axboe <axboe@kernel.dk>2020-05-17 22:10:07 +0200
commitf2a8d5c7a218b9c24befb756c4eb30aa550ce822 (patch)
tree7c527d9d1301c90cdcdd0017cdb08af44b6276a9 /include
parentsplice: export do_tee() (diff)
downloadlinux-f2a8d5c7a218b9c24befb756c4eb30aa550ce822.tar.xz
linux-f2a8d5c7a218b9c24befb756c4eb30aa550ce822.zip
io_uring: add tee(2) support
Add IORING_OP_TEE implementing tee(2) support. Almost identical to splice bits, but without offsets. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/io_uring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index 8c5775df08b8..92c22699a5a7 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -129,6 +129,7 @@ enum {
IORING_OP_SPLICE,
IORING_OP_PROVIDE_BUFFERS,
IORING_OP_REMOVE_BUFFERS,
+ IORING_OP_TEE,
/* this goes last, obviously */
IORING_OP_LAST,