Skip to content

implement timeout update

Pavel Begunkov io-uring 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v12 patches 3 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2io_uring: restructure io_timeout_cancel()fs/io_uring.c+23 -190 replies
2/2io_uring: add timeout updatefs/io_uring.c include/uapi/linux/io_uring.h+52 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] implement timeout update

Timeout update is a IORING_OP_TIMEOUT_REMOVE request with timeout_flags containing a new IORING_TIMEOUT_UPDATE flag. Even though naming may be confusing, but update and remove are very similar both code and functionality wise, so doesn't seem necessary to add a new opcode.

Updates don't support offsets, but I don't see a need either. Can be implemented in the future by passing it in sqe->len.

v2: nits for [2/2] (Jens)

Pavel Begunkov (2):
io_uring: restructure io_timeout_cancel()
io_uring: add timeout update

 fs/io_uring.c                 | 93 +++++++++++++++++++++++++++--------
 include/uapi/linux/io_uring.h |  1 +
 2 files changed, 73 insertions(+), 21 deletions(-)
Signature · 1 line
2.24.0