* Re: [PATCH 1/2] readv2: Note preadv2(..., RWF_NOWAIT) bug in BUGS section
[not found] <20210628204002.1056526-1-alx.manpages@gmail.com>
@ 2021-06-28 22:30 ` Alejandro Colomar (man-pages)
[not found] ` <20210628204002.1056526-2-alx.manpages@gmail.com>
1 sibling, 0 replies; 2+ messages in thread
From: Alejandro Colomar (man-pages) @ 2021-06-28 22:30 UTC (permalink / raw)
To: mtk.manpages, linux-man; +Cc: Will Manley
On 6/28/21 10:40 PM, Alejandro Colomar wrote:
> From: Will Manley <will@williammanley.net>
>
> To save the next person before they fall foul of it. See
> <https://lore.kernel.org/linux-fsdevel/fea8b16d-5a69-40f9-b123-e84dcd6e8f2e@www.fastmail.com/T/#u>
> and <https://github.com/tokio-rs/tokio/issues/3803> for more information.
>
> Signed-off-by: Will Manley <will@williammanley.net>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Resend with correct linux-man@.
> ---
> man2/readv.2 | 11 ++++++++++-
> 1 file changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/man2/readv.2 b/man2/readv.2
> index df42cf830..3355fa9d7 100644
> --- a/man2/readv.2
> +++ b/man2/readv.2
> @@ -243,7 +243,9 @@ If some data was successfully read, it will return the number of bytes read.
> If no bytes were read, it will return \-1 and set
> .IR errno
> to
> -.BR EAGAIN .
> +.BR EAGAIN
> +(but see
> +.BR BUGS ")."
> Currently, this flag is meaningful only for
> .BR preadv2 ().
> .TP
> @@ -425,6 +427,13 @@ iov[1].iov_len = strlen(str1);
> nwritten = writev(STDOUT_FILENO, iov, 2);
> .EE
> .in
> +.SH BUGS
> +Linux v5.9 and v5.10 have a bug where
> +.BR preadv2()
> +with the
> +.BR RWF_NOWAIT
> +flag may return 0 even when not at end of file. See
> +https://lore.kernel.org/linux-fsdevel/fea8b16d-5a69-40f9-b123-e84dcd6e8f2e@www.fastmail.com/T/#u
> .SH SEE ALSO
> .BR pread (2),
> .BR read (2),
>
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] readv.2: Minor tweaks to Will's patch
[not found] ` <20210628204002.1056526-2-alx.manpages@gmail.com>
@ 2021-06-28 22:31 ` Alejandro Colomar (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar (man-pages) @ 2021-06-28 22:31 UTC (permalink / raw)
To: mtk.manpages, linux-man; +Cc: Will Manley
On 6/28/21 10:40 PM, Alejandro Colomar wrote:
> Cc: Will Manley <will@williammanley.net>
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Resending with correct linux-man@.
> ---
> man2/readv.2 | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/man2/readv.2 b/man2/readv.2
> index 3355fa9d7..0debc2d57 100644
> --- a/man2/readv.2
> +++ b/man2/readv.2
> @@ -245,7 +245,7 @@ If no bytes were read, it will return \-1 and set
> to
> .BR EAGAIN
> (but see
> -.BR BUGS ")."
> +.BR BUGS ).
> Currently, this flag is meaningful only for
> .BR preadv2 ().
> .TP
> @@ -433,7 +433,7 @@ Linux v5.9 and v5.10 have a bug where
> with the
> .BR RWF_NOWAIT
> flag may return 0 even when not at end of file. See
> -https://lore.kernel.org/linux-fsdevel/fea8b16d-5a69-40f9-b123-e84dcd6e8f2e@www.fastmail.com/T/#u
> +https://lore.kernel.org\:/linux-fsdevel\:/fea8b16d-5a69-40f9-b123-e84dcd6e8f2e@www.fastmail.com\:/T\:/#u
> .SH SEE ALSO
> .BR pread (2),
> .BR read (2),
>
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-28 22:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210628204002.1056526-1-alx.manpages@gmail.com>
2021-06-28 22:30 ` [PATCH 1/2] readv2: Note preadv2(..., RWF_NOWAIT) bug in BUGS section Alejandro Colomar (man-pages)
[not found] ` <20210628204002.1056526-2-alx.manpages@gmail.com>
2021-06-28 22:31 ` [PATCH 2/2] readv.2: Minor tweaks to Will's patch Alejandro Colomar (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.