Skip to content

Poll improvements

Jens Axboe io-uring 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v19 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Split poll update into an events and user_data update. Some users like to embed fd etc data in the user_data, so makes sense to allow update of that too. So we now have POLL_UPDATE_EVENTS and POLL_UPDATE_USER_DATA that can be used independently or together.

- Fix missing hangup for some cases.

- Rebase on current 5.13 io_uring tree.

- Various little fixes.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8io_uring: mask in error/nval/hangup consistently for pollfs/io_uring.c+4 -30 replies
2/8io_uring: allocate memory for overflowed CQEsfs/io_uring.c+46 -550 replies
3/8io_uring: include cflags in completion trace eventfs/io_uring.c include/trace/events/io_uring.h+8 -50 replies
4/8io_uring: add multishot mode for IORING_OP_POLL_ADDfs/io_uring.c include/uapi/linux/io_uring.h+58 -180 replies
5/8io_uring: abstract out helper for removing poll waitqs/hashesfs/io_uring.c+9 -10 replies
6/8io_uring: terminate multishot poll for CQ ring overflowfs/io_uring.c+12 -80 replies
7/8io_uring: abstract out a io_poll_find_helper()fs/io_uring.c+16 -50 replies
8/8io_uring: allow events and user_data update of running poll requestsfs/io_uring.c include/uapi/linux/io_uring.h+89 -60 replies

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/8] Poll improvements

Hi,

Here's v2 of the poll improvements planned for 5.13. For a description, see the v1 posting here:

https://lore.kernel.org/io-uring/[email protected]/

Changes since v1:

- Split poll update into an events and user_data update. Some users like to embed fd etc data in the user_data, so makes sense to allow update of that too. So we now have POLL_UPDATE_EVENTS and POLL_UPDATE_USER_DATA that can be used independently or together.

- Fix missing hangup for some cases.

- Rebase on current 5.13 io_uring tree.

- Various little fixes.

Signature · 1 line
Jens Axboe