diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-25 05:19:47 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-25 02:39:11 +0200 |
commit | 531113bbd5bfc93e8de45440752af11c751e4aaf (patch) | |
tree | a4643adc406a76ed1f27d30d3fab96c785620e4e /io_uring/splice.h | |
parent | io_uring: split out filesystem related operations (diff) | |
download | linux-531113bbd5bfc93e8de45440752af11c751e4aaf.tar.xz linux-531113bbd5bfc93e8de45440752af11c751e4aaf.zip |
io_uring: split out splice related operations
This splits out splice and tee support.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/splice.h')
-rw-r--r-- | io_uring/splice.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/io_uring/splice.h b/io_uring/splice.h new file mode 100644 index 000000000000..542f94168ad3 --- /dev/null +++ b/io_uring/splice.h @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 + +int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_tee(struct io_kiocb *req, unsigned int issue_flags); + +int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); +int io_splice(struct io_kiocb *req, unsigned int issue_flags); |