]> err.no Git - linux-2.6/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)
commit1db60cf2056511c7c8cebcbaee308ef6c79b4728
tree4bdb5616abcd48d8b0e08b1fde90f0f4b38a118d
parent497f9625c2bbd6a8525fb2eedb22a382a6a8253c
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