commit | 7d67af2c013402537385dae343a2d0f6a4cb3bfd | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Feb 24 11:32:45 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 02 14:04:37 2020 -0700 |
tree | aff586f771a5ede4827c5741c0394bab59a5e104 | |
parent | 8da11c19940ddbc22fc835bce3f361f4d2417fb0 [diff] |
io_uring: add splice(2) support Add support for splice(2). - output file is specified as sqe->fd, so it's handled by generic code - hash_reg_file handled by generic code as well - len is 32bit, but should be fine - the fd_in is registered file, when SPLICE_F_FD_IN_FIXED is set, which is a splice flag (i.e. sqe->splice_flags). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>