mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-20 18:15:29 +00:00
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>
This commit is contained in:
parent
497f9625c2
commit
1db60cf205
1 changed files with 55 additions and 91 deletions
160
kernel/relay.c
160
kernel/relay.c
Loading…
Add table
Add a link
Reference in a new issue