[PATCH] copy_file_range: New function to copy file data

Andreas Schwab schwab@suse.de
Thu Nov 23 15:39:00 GMT 2017


On Nov 23 2017, Florian Weimer <fweimer@redhat.com> wrote:

>> I don't think write can ever return 0 when writing more than zero bytes.
>
> I can drop the check.  With the Linux VFS layer, it is difficult to tell
> whether this condition can ever happen, and if it does, we would likely
> enter an infinite loop without the check.

Or we get the real error in the next loop.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list