summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-25 21:49:37 -0700
committerJens Axboe <axboe@kernel.dk>2019-12-25 21:49:37 -0700
commita1da8854c4f2bb6ce738f9c0aaedabb04e853e2b (patch)
tree2b58da4a4bf29d8577781ac6d3f1ea45b666bb37 /man
parent9d65469834ee5991c99575854f356815b8a241ec (diff)
downloadliburing-a1da8854c4f2bb6ce738f9c0aaedabb04e853e2b.tar.gz
liburing-a1da8854c4f2bb6ce738f9c0aaedabb04e853e2b.tar.bz2
io_uring_setup.2: formatting and addition of read/write fixed
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man')
-rw-r--r--man/io_uring_setup.226
1 files changed, 15 insertions, 11 deletions
diff --git a/man/io_uring_setup.2 b/man/io_uring_setup.2
index dc0b5f2..27cf864 100644
--- a/man/io_uring_setup.2
+++ b/man/io_uring_setup.2
@@ -176,21 +176,25 @@ If this flag is set, applications can be certain that any data for
async offload has been consumed when the kernel has consumed the SQE.
.TP
.B IORING_FEAT_RW_CUR_POS
-If this flag is set, applications can specify offset == -1 with
-.B IORING_OP_READV,
-.B IORING_OP_WRITEV,
-.B IORING_OP_READ,
-and
-.B IORING_OP_WRITE
+If this flag is set, applications can specify
+.I offset
+== -1 with
+.B IORING_OP_{READV,WRITEV}
+,
+.B IORING_OP_{READ,WRITE}_FIXED
+, and
+.B IORING_OP_{READ,WRITE}
to mean current file position, which behaves like
.I preadv2(2)
and
.I pwritev2(2)
-with offset == -1. It'll use (and update) the current
-file position. This obviously comes with the caveat that if the
-application has multiple read/writes in flight, then the end result
-will not be as expected. This is similar to threads sharing a file
-descriptor and doing IO using the current file position.
+with
+.I offset
+== -1. It'll use (and update) the current file position. This obviously comes
+with the caveat that if the application has multiple reads or writes in flight,
+then the end result will not be as expected. This is similar to threads sharing
+a file descriptor and doing IO using the current file position.
+
.PP
The rest of the fields in the
.I struct io_uring_params