[PATCH] copy_file_range: New function to copy file data
Florian Weimer
fweimer@redhat.com
Thu Nov 23 15:43:00 GMT 2017
On 11/23/2017 04:39 PM, Andreas Schwab wrote:
> 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.
Tradition has it that it's a replacement for the ENOSPC condition, and
that would be sticky and happen again in the next loop iteration.
Thanks,
Florian
More information about the Libc-alpha
mailing list