Linux Manual Pages development
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>
To: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	milosz-B5zB6C1i6pkAvxtiuMwx3w@public.gmane.org
Subject: [PATCH] readv.2: document RWF_NOWAIT
Date: Sun, 29 Oct 2017 10:40:23 +0200	[thread overview]
Message-ID: <20171029084023.8463-1-hch@lst.de> (raw)

Signed-off-by: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org>
---
 man2/readv.2 | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/man2/readv.2 b/man2/readv.2
index 831cf6260..21d82849e 100644
--- a/man2/readv.2
+++ b/man2/readv.2
@@ -232,6 +232,25 @@ This flag is meaningful only for
 .BR pwritev2 (),
 and its effect applies only to the data range written by the system call.
 .\" commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
+.TP
+.BR RWF_NOWAIT " (since Linux 4.14)"
+Dot not wait for data when it cannot be instantly retreived.  If this flag
+is specified the
+.BR preadv2 ()
+system call will return instantly when it would have to read data from
+the backing storage or wait for a lock.  Instead it will return -1 and set
+.I errno
+to
+.BR EAGAIN
+if no data could be read, or return less bytes than requested if some data
+could be read.
+This flag is meaningful only for
+.BR preadv2 ()
+at the moment.
+.\" commit 3239d834847627b6634a4139cf1dc58f6f137a46
+.\" commit 91f9943e1c7b6638f27312d03fe71fcc67b23571
+
+
 .SH RETURN VALUE
 On success,
 .BR readv (),
-- 
2.14.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2017-10-29  8:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-29  8:40 Christoph Hellwig [this message]
2017-10-29  9:17 ` [PATCH] readv.2: document RWF_NOWAIT Silvan Jegen
     [not found] ` <20171029084023.8463-1-hch-jcswGhMUV9g@public.gmane.org>
2017-10-29  9:41   ` Matthew Wilcox
2017-11-09 13:40     ` Michael Kerrisk (man-pages)
2017-11-09 15:01       ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171029084023.8463-1-hch@lst.de \
    --to=hch-jcswghmuv9g@public.gmane.org \
    --cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=milosz-B5zB6C1i6pkAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox