public inbox for [email protected]
 help / color / mirror / Atom feed
From: Pavel Begunkov <[email protected]>
To: Jens Axboe <[email protected]>, [email protected]
Subject: [PATCH liburing 5.11] man/io_uring_enter.2: describe timeout updates
Date: Sun,  6 Dec 2020 13:16:07 +0000	[thread overview]
Message-ID: <24c4f1133eb4dd3ff2e979a6a744ac0032fb7a2d.1607260546.git.asml.silence@gmail.com> (raw)

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


             reply	other threads:[~2020-12-06 13:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-06 13:16 Pavel Begunkov [this message]
2020-12-07 15:49 ` [PATCH liburing 5.11] man/io_uring_enter.2: describe timeout updates Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=24c4f1133eb4dd3ff2e979a6a744ac0032fb7a2d.1607260546.git.asml.silence@gmail.com \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox