From: Miklos Szeredi Date: Thu, 7 May 2009 13:37:36 +0000 (+0200) Subject: splice: implement default splice_read method X-Git-Tag: v2.6.31-rc1~389^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6818173bd658439b83896a2a7586f64ab51bf29c;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed