fcntl.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-08-26 03:02:57 +02:00
parent c542a59fed
commit 7b2316b859
1 changed files with 10 additions and 10 deletions

View File

@ -1495,15 +1495,15 @@ pending on the file,
all outstanding writes will be discarded.
.\"
.SS File read/write hints
Write life time hints can be used to inform the kernel about the relative
expected life time of writes on a given inode or file.
Write lifetime hints can be used to inform the kernel about the relative
expected lifetime of writes on a given inode or file.
An application may
use this interface for separating writes into different write classes,
so that multiple users or applications running on a single storage back-end
can aggregate their IO patterns in a consistent manner.
can aggregate their I/O patterns in a consistent manner.
However, there are
no functional semantics implied by these flags, and different IO classes
can use the write life time hints in arbitrary ways so long as they are used
no functional semantics implied by these flags, and different I/O classes
can use the write lifetime hints in arbitrary ways so long as they are used
consistently.
.TP
.BR F_GET_RW_HINT " (\fIuint64_t\fP; since Linux 4.13)"
@ -1530,23 +1530,23 @@ No specific hint has been set.
This is the default value.
.TP
.BR RWH_WRITE_LIFE_NONE
No specific write life time is associated with this file or inode.
No specific write lifetime is associated with this file or inode.
.TP
.BR RWH_WRITE_LIFE_SHORT
Data written to this file or inode is expected to have a short life time.
Data written to this file or inode is expected to have a short lifetime.
.TP
.BR RWH_WRITE_LIFE_MEDIUM
Data written to this file or inode is expected to have a life time longer than
Data written to this file or inode is expected to have a lifetime longer than
data written with
.BR RWH_WRITE_LIFE_SHORT .
.TP
.BR RWH_WRITE_LIFE_LONG
Data written to this file or inode is expected to have a life time longer than
Data written to this file or inode is expected to have a lifetime longer than
data written with
.BR RWH_WRITE_LIFE_MEDIUM .
.TP
.BR RWH_WRITE_LIFE_EXTREME
Data written to this file or inode is expected to have a life time longer than
Data written to this file or inode is expected to have a lifetime longer than
data written with
.BR RWH_WRITE_LIFE_LONG .
.P