summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-01-26 13:55:52 -0700
committerJens Axboe <axboe@kernel.dk>2022-01-26 13:55:52 -0700
commitffb473d2fe12dfb2d4ad624774ac19017f2bb071 (patch)
tree86f2126c0a7d28f74d69c045afdee99f43fd0150
parentaf24b1f56b765f8110d39883ac3107604bcf3f78 (diff)
downloadliburing-ffb473d2fe12dfb2d4ad624774ac19017f2bb071.tar.gz
liburing-ffb473d2fe12dfb2d4ad624774ac19017f2bb071.tar.bz2
man page typos
Fix a typo, and improve some of the documentation as well. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_enter.22
-rw-r--r--man/io_uring_sqe_set_flags.37
2 files changed, 5 insertions, 4 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index ec70222..9350652 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -1051,7 +1051,7 @@ When this flag is specified, the SQE forms a link with the next SQE in the
submission ring. That next SQE will not be started before the previous request
completes. This, in effect, forms a chain of SQEs, which can be arbitrarily
long. The tail of the chain is denoted by the first SQE that does not have this
-flag set. Chains are not supported across submission boundaries. EVen if the
+flag set. Chains are not supported across submission boundaries. Even if the
last SQE in a submission has this flag set, it will still terminate the current
chain. This flag has no effect on previous SQE submissions, nor does it impact
SQEs that are outside of the chain tail. This means that multiple chains can be
diff --git a/man/io_uring_sqe_set_flags.3 b/man/io_uring_sqe_set_flags.3
index bbe62b5..b066f1d 100644
--- a/man/io_uring_sqe_set_flags.3
+++ b/man/io_uring_sqe_set_flags.3
@@ -26,7 +26,8 @@ submission queue entry param.
is a bit mask of 0 or more of the following values ORed together:
.TP
.B IOSQE_FIXED_FILE
-Use registered files that previously registered buffers.
+The file descriptor in the SQE refers to the index of a previously registered
+file or direct file descriptor, not a normal file descriptor.
.TP
.B IOSQE_ASYNC
Normal operation for io_uring is to try and issue an sqe as non-blocking first,
@@ -40,7 +41,7 @@ When this flag is specified, the SQE forms a link with the next SQE in the
submission ring. That next SQE will not be started before the previous request
completes. This, in effect, forms a chain of SQEs, which can be arbitrarily
long. The tail of the chain is denoted by the first SQE that does not have this
-flag set. Chains are not supported across submission boundaries. EVen if the
+flag set. Chains are not supported across submission boundaries. Even if the
last SQE in a submission has this flag set, it will still terminate the current
chain. This flag has no effect on previous SQE submissions, nor does it impact
SQEs that are outside of the chain tail. This means that multiple chains can be
@@ -56,4 +57,4 @@ one completes.
.SH RETURN VALUE
None
.SH SEE ALSO
-.BR io_uring_submit (3), io_uring_register(3) \ No newline at end of file
+.BR io_uring_submit (3), io_uring_register(3)