->splice_write() via ->write_iter()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 5 Apr 2014 08:27:08 +0000 (04:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 Jun 2014 04:18:51 +0000 (00:18 -0400)
commit8d0207652cbe27d1f962050737848e5ad4671958
tree2cd92ec3cfc66cdfd3cff1b4a46f1b5a4f4b8197
parent62a8067a7f35dba2de501c9cb00e4cf36da90bc0
->splice_write() via ->write_iter()

iter_file_splice_write() - a ->splice_write() instance that gathers the
pipe buffers, builds a bio_vec-based iov_iter covering those and feeds
it to ->write_iter().  A bunch of simple cases coverted to that...

[AV: fixed the braino spotted by Cyrill]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
16 files changed:
fs/block_dev.c
fs/exofs/file.c
fs/ext2/file.c
fs/ext3/file.c
fs/ext4/file.c
fs/f2fs/file.c
fs/gfs2/file.c
fs/jfs/file.c
fs/ramfs/file-mmu.c
fs/ramfs/file-nommu.c
fs/reiserfs/file.c
fs/splice.c
fs/ubifs/file.c
fs/xfs/xfs_file.c
fs/xfs/xfs_trace.h
include/linux/fs.h