Miklos Szeredi 6818173bd6 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>
2009-05-11 14:13:10 +02:00
..
2009-04-01 21:42:24 +02:00
2009-04-15 12:10:13 +02:00
2009-04-07 08:12:38 +02:00
2009-04-28 08:14:52 +02:00
2009-04-07 08:12:38 +02:00
2009-03-26 21:15:27 +01:00
2009-04-24 08:54:21 +02:00
2008-10-21 07:48:11 -04:00