[PATCHv2] Use sendfile to copy data between file descriptors

Denys Vlasenko vda.linux at googlemail.com
Wed Nov 26 16:43:09 UTC 2014


On Wed, Nov 26, 2014 at 4:06 PM, Denys Vlasenko
<vda.linux at googlemail.com> wrote:
> Looks like it will always allocate the copy buffer,
> and always attempt the final read, even if sendfile worked perfectly.
> Can this be avoided?

Please review attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9.patch
Type: text/x-patch
Size: 5565 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20141126/a253c06e/attachment-0001.bin>


More information about the busybox mailing list