Skip to content

io_uring: make POLL_ADD support multiple waitqs

Jens Axboe io-uring 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Fix unused 'ret' variable in io_poll_double_wake()
- Fail if we get an attempt at a third waitqueue addition (Pavel)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3io_uring: store io_kiocb in wait->privatefs/io_uring.c+3 -30 replies
2/3io_uring: abstract out main poll wake handlerfs/io_uring.c+39 -350 replies
3/3io_uring: allow POLL_ADD with double poll_wait() usersfs/io_uring.c+74 -51 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHSET v2 0/3] io_uring: make POLL_ADD support multiple waitqs

Here's v2 of the "let's make POLL_ADD work on everything" patchset. As before, patches 1-2 are just basic prep patches, and should not have any functional changes in them. Patch 3 adds support for allocating a new io_poll_iocb unit if we get multiple additions through our queue proc for the wait queues. This new 'poll' addition is queued up as well, and it grabs a reference to the original poll request.

Changes since v1:

- Fix unused 'ret' variable in io_poll_double_wake()
- Fail if we get an attempt at a third waitqueue addition (Pavel)

Signature · 1 line
Jens Axboe