summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-05-17 14:18:06 +0300
committerJens Axboe <axboe@kernel.dk>2020-05-17 14:10:07 -0600
commitf2a8d5c7a218b9c24befb756c4eb30aa550ce822 (patch)
tree7c527d9d1301c90cdcdd0017cdb08af44b6276a9 /include
parent9dafdfc2f0a3ae551711098de3d7b621a469f11a (diff)
downloadlinux-stable-f2a8d5c7a218b9c24befb756c4eb30aa550ce822.tar.gz
linux-stable-f2a8d5c7a218b9c24befb756c4eb30aa550ce822.tar.bz2
linux-stable-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,