unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [patch] NEWS: clarify copy_file_range
@ 2019-07-02 19:17 DJ Delorie
  2019-07-02 19:19 ` Florian Weimer
  0 siblings, 1 reply; 3+ messages in thread
From: DJ Delorie @ 2019-07-02 19:17 UTC (permalink / raw
  To: libc-alpha


Florian asked me for feedback wrt this discussion:
  https://lists.gnu.org/archive/html/bug-gnulib/2019-06/msg00109.html

I propose a slight re-wording of NEWS to clarify what applications
must do wrt the copy_file_range change:

diff --git a/NEWS b/NEWS
index 6c7de105ac..11099f7248 100644
--- a/NEWS
+++ b/NEWS
@@ -46,9 +46,11 @@ Deprecated and removed features, and other changes affecting compatibility:
   support the system call of the same name.  Previously, user space
   emulation was performed, but its behavior did not match the kernel
   behavior, which was deemed too confusing.  Applications which use the
-  copy_file_range function will have to be run on kernels which implement
-  the copy_file_range system call.  Support for most architectures was added
-  in version 4.5 of the mainline Linux kernel.
+  copy_file_range function can no longer rely on glibc to provide a fallback
+  on kernels that do not support the copy_file_range system call, and if
+  this function returns ENOSYS, they will need to use their own fallback.
+  Support for copy_file_range for most architectures was added in version
+  4.5 of the mainline Linux kernel.
 
 * The functions clock_gettime, clock_getres, clock_settime,
   clock_getcpuclockid, clock_nanosleep were removed from the librt library

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [patch] NEWS: clarify copy_file_range
  2019-07-02 19:17 [patch] NEWS: clarify copy_file_range DJ Delorie
@ 2019-07-02 19:19 ` Florian Weimer
  2019-07-08 21:41   ` DJ Delorie
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2019-07-02 19:19 UTC (permalink / raw
  To: DJ Delorie; +Cc: libc-alpha

* DJ Delorie:

> Florian asked me for feedback wrt this discussion:
>   https://lists.gnu.org/archive/html/bug-gnulib/2019-06/msg00109.html
>
> I propose a slight re-wording of NEWS to clarify what applications
> must do wrt the copy_file_range change:
>
> diff --git a/NEWS b/NEWS
> index 6c7de105ac..11099f7248 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -46,9 +46,11 @@ Deprecated and removed features, and other changes affecting compatibility:
>    support the system call of the same name.  Previously, user space
>    emulation was performed, but its behavior did not match the kernel
>    behavior, which was deemed too confusing.  Applications which use the
> -  copy_file_range function will have to be run on kernels which implement
> -  the copy_file_range system call.  Support for most architectures was added
> -  in version 4.5 of the mainline Linux kernel.
> +  copy_file_range function can no longer rely on glibc to provide a fallback
> +  on kernels that do not support the copy_file_range system call, and if
> +  this function returns ENOSYS, they will need to use their own fallback.
> +  Support for copy_file_range for most architectures was added in version
> +  4.5 of the mainline Linux kernel.

Looks good to me.  Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch] NEWS: clarify copy_file_range
  2019-07-02 19:19 ` Florian Weimer
@ 2019-07-08 21:41   ` DJ Delorie
  0 siblings, 0 replies; 3+ messages in thread
From: DJ Delorie @ 2019-07-08 21:41 UTC (permalink / raw
  To: Florian Weimer; +Cc: libc-alpha

>> diff --git a/NEWS b/NEWS
>> index 6c7de105ac..11099f7248 100644
>> --- a/NEWS
>> +++ b/NEWS
>> @@ -46,9 +46,11 @@ Deprecated and removed features, and other changes affecting compatibility:
>>    support the system call of the same name.  Previously, user space
>>    emulation was performed, but its behavior did not match the kernel
>>    behavior, which was deemed too confusing.  Applications which use the
>> -  copy_file_range function will have to be run on kernels which implement
>> -  the copy_file_range system call.  Support for most architectures was added
>> -  in version 4.5 of the mainline Linux kernel.
>> +  copy_file_range function can no longer rely on glibc to provide a fallback
>> +  on kernels that do not support the copy_file_range system call, and if
>> +  this function returns ENOSYS, they will need to use their own fallback.
>> +  Support for copy_file_range for most architectures was added in version
>> +  4.5 of the mainline Linux kernel.

Florian Weimer <fw@deneb.enyo.de> writes:
> Looks good to me.  Thanks.

NP; pushed.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-08 21:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-02 19:17 [patch] NEWS: clarify copy_file_range DJ Delorie
2019-07-02 19:19 ` Florian Weimer
2019-07-08 21:41   ` DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).