git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6818173
)
splice: implement default splice_write method
author
Miklos Szeredi
<miklos@szeredi.hu>
Thu, 7 May 2009 13:37:37 +0000
(15:37 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 11 May 2009 12:13:10 +0000
(14:13 +0200)
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>
No differences found