mirror of https://github.com/mkerrisk/man-pages
fcntl.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7b2316b859
commit
ccdfed50fc
12
man2/fcntl.2
12
man2/fcntl.2
|
@ -1501,10 +1501,9 @@ An application may
|
||||||
use this interface for separating writes into different write classes,
|
use this interface for separating writes into different write classes,
|
||||||
so that multiple users or applications running on a single storage back-end
|
so that multiple users or applications running on a single storage back-end
|
||||||
can aggregate their I/O patterns in a consistent manner.
|
can aggregate their I/O patterns in a consistent manner.
|
||||||
However, there are
|
However, there are no functional semantics implied by these flags,
|
||||||
no functional semantics implied by these flags, and different I/O classes
|
and different I/O classes can use the write lifetime hints
|
||||||
can use the write lifetime hints in arbitrary ways so long as they are used
|
in arbitrary ways so long as they are used consistently.
|
||||||
consistently.
|
|
||||||
.TP
|
.TP
|
||||||
.BR F_GET_RW_HINT " (\fIuint64_t\fP; since Linux 4.13)"
|
.BR F_GET_RW_HINT " (\fIuint64_t\fP; since Linux 4.13)"
|
||||||
Returns the value of the read/write hint associated with the underlying inode
|
Returns the value of the read/write hint associated with the underlying inode
|
||||||
|
@ -1519,7 +1518,7 @@ Returns the value of the read/write hint associated with the file descriptor.
|
||||||
.TP
|
.TP
|
||||||
.BR F_SET_FILE_RW_HINT " (\fIuint64_t\fP; since Linux 4.13)"
|
.BR F_SET_FILE_RW_HINT " (\fIuint64_t\fP; since Linux 4.13)"
|
||||||
Sets the read/write hint value associated with the file descriptor.
|
Sets the read/write hint value associated with the file descriptor.
|
||||||
.P
|
.PP
|
||||||
If a given file descriptor has not been assigned a read/write hint, then it
|
If a given file descriptor has not been assigned a read/write hint, then it
|
||||||
shall use the value assigned to the inode, if any.
|
shall use the value assigned to the inode, if any.
|
||||||
The following read/write
|
The following read/write
|
||||||
|
@ -1549,10 +1548,9 @@ data written with
|
||||||
Data written to this file or inode is expected to have a lifetime longer than
|
Data written to this file or inode is expected to have a lifetime longer than
|
||||||
data written with
|
data written with
|
||||||
.BR RWH_WRITE_LIFE_LONG .
|
.BR RWH_WRITE_LIFE_LONG .
|
||||||
.P
|
.PP
|
||||||
All the write specific hints are relative to each other, and no individual
|
All the write specific hints are relative to each other, and no individual
|
||||||
absolute meaning should be attributed to them.
|
absolute meaning should be attributed to them.
|
||||||
.P
|
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
For a successful call, the return value depends on the operation:
|
For a successful call, the return value depends on the operation:
|
||||||
.TP 0.9i
|
.TP 0.9i
|
||||||
|
|
Loading…
Reference in New Issue