]> git.baikalelectronics.ru Git - kernel.git/commit
relay: use splice_to_pipe() instead of open-coding the pipe loop
authorJens Axboe <jens.axboe@oracle.com>
Tue, 12 Jun 2007 06:43:46 +0000 (08:43 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 06:04:15 +0000 (08:04 +0200)
commitf33a4213018a73bfb4dd34a9daab23ab136cd0aa
tree4bdb5616abcd48d8b0e08b1fde90f0f4b38a118d
parent3ec8434784d293c311fdba177e7732d93e1286b0
relay: use splice_to_pipe() instead of open-coding the pipe loop

It cleans up the relay splice implementation a lot, and gets rid of
a lot of internal pipe knowledge that should not be in there.

Plus fixes for padding and partial first page (and lots more) from
Tom Zanussi.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
kernel/relay.c