summaryrefslogtreecommitdiff
path: root/include/linux/splice.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2009-05-07 17:37:37 +0400
committerJens Axboe <jens.axboe@oracle.com>2009-05-11 16:13:10 +0400
commit0b0a47f5c4a30b58432e20ae1706a27baea91a88 (patch)
tree294de65aae0eaf2b7865ff1db971226c8a77635b /include/linux/splice.h
parent6818173bd658439b83896a2a7586f64ab51bf29c (diff)
downloadlinux-0b0a47f5c4a30b58432e20ae1706a27baea91a88.tar.xz
splice: implement default splice_write method
If f_op->splice_write() is not implemented, fall back to a plain write. Use vfs_writev() to write from the pipe buffers. This will allow splice on all filesystems and file types. This includes "direct_io" files in fuse which bypass the page cache. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/splice.h')
0 files changed, 0 insertions, 0 deletions