]> git.baikalelectronics.ru Git - kernel.git/commit
splice: abstract out actor data
authorJens Axboe <jens.axboe@oracle.com>
Tue, 12 Jun 2007 19:17:17 +0000 (21:17 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 06:04:12 +0000 (08:04 +0200)
commit5bc3f265debc6f91d1458927bbe921872a229e1e
tree764ece0ee44f937012dfaa1657709da548ed5b16
parentea65e4e61463bdab9cd7f26b42cd4b5e0264ed5c
splice: abstract out actor data

For direct splicing (or private splicing), the output may not be a file.
So abstract out the handling into a specified actor function and put
the data in the splice_desc structure earlier, so we can build on top
of that.

This is the first step in better splice handling for drivers, and also
for implementing vmsplice _to_ user memory.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/ocfs2/file.c
fs/splice.c
include/linux/pipe_fs_i.h