mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
switch default_file_splice_read() to use of pipe-backed iov_iter
we only use iov_iter_get_pages_alloc() and iov_iter_advance() - pages are filled by kernel_readv() via a kvec array (as we used to do all along), so iov_iter here is used only as a way of arranging for those pages to be in pipe. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
82c156f853
commit
523ac9afc7
1 changed files with 40 additions and 71 deletions
111
fs/splice.c
111
fs/splice.c
Loading…
Add table
Add a link
Reference in a new issue