readv.2: Document the pwritev2() RWF_SYNC and RWF_DSYNC flags

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-08-07 07:50:20 +10:00
parent 5c3bbffbb0
commit dae86017d7
1 changed files with 18 additions and 0 deletions

View File

@ -206,6 +206,15 @@ The
.I flags
argument contains a bitwise OR of zero or more of the following flags:
.TP
.BR RWF_DSYNC " (since Linux 4.7)"
Provide a per-write equivalent of the
.B O_DSYNC
.BR open (2)
flag.
This flag is meaningful only for
.BR pwritev2 ().
.\" commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
.TP
.BR RWF_HIPRI " (since Linux 4.6)"
High priority read/write.
Allows block-based filesystems to use polling of the device,
@ -213,6 +222,15 @@ which provides lower latency, but may use additional resources.
(Currently, this feature is usable only on a file descriptor opened using the
.BR O_DIRECT
flag.)
.TP
.BR RWF_SYNC " (since Linux 4.7)"
Provide a per-write equivalent of the
.B O_SYNC
.BR open (2)
flag.
This flag is meaningful only for
.BR pwritev2 ().
.\" commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
.SH RETURN VALUE
On success,
.BR readv (),