On Sat, Feb 12, 2011 at 02:16:09PM +0100, Przemys??aw Pawe??czyk wrote:
> In the good old days (2.4 and before) sendfile()'s out_fd could refer
> to a regular file. Pretty convenient and efficient way of copying data
> between files. This patch brings it back. I bet a lot of people missed
> reintroduction of this great sendfile() feature. Presumably because:
> (1) it's not mentioned in the subject, (2) it's mentioned in the
> message though, but as a side effect and without proper stress, (3)
> it's not obvious after skimming through the code (without the
> message). After all we all like such side effects.
>
> Applying it (in full-form) to 2.6.27 requires actually additional
> changes, e.g. there is no default_file_splice_{read,write}()
> functions. So I'm not sure it should be done in 2.6.27.
Thank you for the detailed explanation. Let's not touch 2.6.27 then.
Best regards,
Willy
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable