summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-28 09:54:22 -0700
committerJens Axboe <axboe@kernel.dk>2019-12-28 09:54:22 -0700
commitab8537f79ee19bbd1f9ed7640b93b2cb7d89f3d4 (patch)
tree48672ead09125cdb24231c3d686ed341a07e6136 /man
parent07b6d913ca185a5005de6ddf842f5e7b7f9620e1 (diff)
downloadliburing-ab8537f79ee19bbd1f9ed7640b93b2cb7d89f3d4.tar.gz
liburing-ab8537f79ee19bbd1f9ed7640b93b2cb7d89f3d4.tar.bz2
man/io_uring_enter.2: improve timeout documentation
- Missing mention of -ENOENT on timeout removal - Mention the clock source used is CLOCK_MONOTONIC Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man')
-rw-r--r--man/io_uring_enter.211
1 files changed, 9 insertions, 2 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index c5b3a3f..12fadf0 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -251,7 +251,9 @@ may contain a completion event count. If not set, this defaults to 1. A timeout
will trigger a wakeup event on the completion ring for anyone waiting for
events. A timeout condition is met when either the specified timeout expires,
or the specified number of events have completed. Either condition will
-trigger the event. The request will complete with
+trigger the event. io_uring timeouts use the
+.B CLOCK_MONOTONIC
+clock source. The request will complete with
.I -ETIME
if the timeout got completed through expiration of the timer, or
.I 0
@@ -274,6 +276,7 @@ this request will terminate with a result value of
.I -EBUSY
If the timeout request wasn't found, the request will terminate with a result
value of
+.I -ENOENT
.TP
.B IORING_OP_ACCEPT
@@ -323,7 +326,11 @@ complete with
.I -ETIME
if the timer expired and the linked request was attempted cancelled, or
.I -ECANCELED
-if the timer got cancelled because of completion of the linked request.
+if the timer got cancelled because of completion of the linked request. Like
+.B IORING_OP_TIMEOUT
+the clock source used is
+.B CLOCK_MONOTONIC
+
.TP
.B IORING_OP_CONNECT