aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2017-11-20 12:43:20 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-11-20 13:55:34 +0100
commitbfddbad031c875e885731ad536f2e301e84be776 (patch)
tree41a6f185c81529520cfe0e8296dfe0a1b7f187d9
parent7a62a0551b6007d44e1f75ac29d5d9ea38fef3c6 (diff)
downloadman-pages-bfddbad031c875e885731ad536f2e301e84be776.tar.gz
io_submit.2: Rewrap source lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/io_submit.232
1 files changed, 21 insertions, 11 deletions
diff --git a/man2/io_submit.2 b/man2/io_submit.2
index 28d10942ec..c1e90f8f79 100644
--- a/man2/io_submit.2
+++ b/man2/io_submit.2
@@ -61,45 +61,54 @@ struct iocb {
The fields of this structure are as follows:
.TP
.I aio_data
-This is a internal field used by the kernel. Do not modify this field after an
+This is a internal field used by the kernel.
+Do not modify this field after an
.B io_submit (2)
call.
.TP
.I aio_key
-This is a internal field used by the kernel. Do not modify this field after an
+This is a internal field used by the kernel.
+Do not modify this field after an
.B io_submit (2)
call.
.TP
.I aio_rw_flags
-This defines the R/W flags passed with structure. The valid values are:
+This defines the R/W flags passed with structure.
+The valid values are:
.RS
.TP
.I RWF_HIPRI
High priority request, poll if possible
.TP
.I RWF_DSYNC
-Write operation complete according to requirement of synchronized I/O data integrity. Similar to a file passed
+Write operation complete according to requirement of
+synchronized I/O data integrity.
+Similar to a file passed
.B O_DSYNC
parameter to
.B open(2)
.TP
.I RWF_SYNC
-Write operation complete according to requirement of synchronized I/O file integrity. Similar to a file passed
+Write operation complete according to requirement of
+synchronized I/O file integrity.
+Similar to a file passed
.B .O_SYNC
parameter to
.B open(2)
.TP
.I RWF_NOWAIT
-Don't wait if the I/O will block for operations such as file block allocations,
-dirty page flush, mutex locks, or a congested block device inside the kernel.
-If any of these conditions are met, the control block is returned immediately
-with a return value of
+Don't wait if the I/O will block for operations such as
+file block allocations, dirty page flush, mutex locks,
+or a congested block device inside the kernel.
+If any of these conditions are met, the control block is returned
+immediately with a return value of
.B -EAGAIN
in the res field of the io_event structure.
.RE
.TP
.I aio_lio_opcode
-This defines the type of I/O to be performed by the iocb structure. The
+This defines the type of I/O to be performed by the iocb structure.
+The
valid values are defined by the enum defined in linux/aio_abi.h:
.in +4
.nf
@@ -132,7 +141,8 @@ This is the size of the buffer pointed to by
This is the file offset at which the I/O operation is to be performed.
.TP
.I aio_flags
-This is the flag to be passed iocb structure. The only valid value is
+This is the flag to be passed iocb structure.
+The only valid value is
.I IOCB_FLAG_RESFD
, which indicates that the asynchronous I/O control must signal the file
descriptor mentioned in