make splice more generic
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | splice: implement pipe to pipe splicingfs/ | +151 | 0 replies | |
| 2/3 | splice: implement default splice_read methoddrivers/ fs/ fs/ +4 more | +140 | 8 replies | |
| 3/3 | splice: implement default splice_write methodfs/ | +138 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/3] make splice more generic
This series makes splice(2) work in more cases:
- pipe to pipe splicing (zero copy)
- fallback splice_read which uses readv()
- fallback splice_write which uses writev()
Just after cleaning up my patches after a vacation I found Max Kellermann's patch on LKML implementing the first part. I'll still post mine, because it's slightly simpler (no ref + unref on the buffer if not necessary).
One more generalization would be to allow splice to work on two non-pipes, using an internal intermediate pipe, a-la do_splice_direct().
Comments?
Thanks,
Miklos
--