* [PATCH liburing 5.11] man/io_uring_enter.2: describe timeout updates
@ 2020-12-06 13:16 Pavel Begunkov
2020-12-07 15:49 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Pavel Begunkov @ 2020-12-06 13:16 UTC (permalink / raw)
To: Jens Axboe, io-uring
Signed-off-by: Pavel Begunkov <[email protected]>
---
man/io_uring_enter.2 | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index ae7e687..a1e486a 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -325,7 +325,9 @@ Available since 5.4.
.TP
.B IORING_OP_TIMEOUT_REMOVE
-Attempt to remove an existing timeout operation.
+If
+.I timeout_flags are zero, then it attempts to remove an existing timeout
+operation.
.I addr
must contain the
.I user_data
@@ -341,6 +343,19 @@ value of
.I -ENOENT
Available since 5.5.
+If
+.I timeout_flags
+contain
+.I IORING_TIMEOUT_UPDATE,
+instead of removing an existing operation it updates it.
+.I addr
+and return values are same as before.
+.I addr2
+field must contain a pointer to a struct timespec64 structure.
+.I timeout_flags
+may also contain IORING_TIMEOUT_ABS.
+Available since 5.11.
+
.TP
.B IORING_OP_ACCEPT
Issue the equivalent of an
--
2.24.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-07 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-06 13:16 [PATCH liburing 5.11] man/io_uring_enter.2: describe timeout updates Pavel Begunkov
2020-12-07 15:49 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox