From 76dec7bbd4e8761249a339db5f13f7e63a37aac3 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 8 Aug 2021 04:34:37 +0200 Subject: [PATCH] readv.2: Minor fixes (part 2) to Will Manley's patch Mainly: I generally don't want us to be including URLs to mailing list discussions in a manual page. Either, the issue in the discussion is worth writing up in the manual page (so that the reader doesn't have to look elsewhere), or the details are less important, in which case it is sufficient to note the existence of the bug. I think this is an example of the latter. Signed-off-by: Michael Kerrisk --- man2/readv.2 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/man2/readv.2 b/man2/readv.2 index 0debc2d57..bd0a6cd2f 100644 --- a/man2/readv.2 +++ b/man2/readv.2 @@ -428,12 +428,17 @@ nwritten = writev(STDOUT_FILENO, iov, 2); .EE .in .SH BUGS -Linux v5.9 and v5.10 have a bug where +Linux 5.9 and 5.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 +flag may return 0 even when not at end of file. +.\" See +.\" +.\" The bug was introduced in +.\" efa8480a831 fs: RWF_NOWAIT should imply IOCB_NOIO +.\"and fixed in +.\" 06c0444290 mm/filemap.c: generic_file_buffered_read() now uses find_get_pages_contig .SH SEE ALSO .BR pread (2), .BR read (2),