aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu> 2009-05-07 15:37:36 +0200
committerGravatar Jens Axboe <jens.axboe@oracle.com> 2009-05-11 14:13:10 +0200
commit6818173bd658439b83896a2a7586f64ab51bf29c (patch)
tree17d25ee77485af18da1a80cb7f1d8ec581c6abfc /ipc
parentsplice: implement pipe to pipe splicing (diff)
downloadlinux-6818173bd658439b83896a2a7586f64ab51bf29c.tar.gz
linux-6818173bd658439b83896a2a7586f64ab51bf29c.tar.bz2
linux-6818173bd658439b83896a2a7586f64ab51bf29c.zip
splice: implement default splice_read method
If f_op->splice_read() is not implemented, fall back to a plain read. Use vfs_readv() to read into previously allocated pages. This will allow splice and functions using splice, such as the loop device, to work on all filesystems. 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 'ipc')
0 files changed, 0 insertions, 0 deletions