public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCHSET for-next 0/9] Poll improvements
@ 2021-03-17 16:29 Jens Axboe
  2021-03-17 16:29 ` [PATCH 1/9] io_uring: correct comment on poll vs iopoll Jens Axboe
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Jens Axboe @ 2021-03-17 16:29 UTC (permalink / raw)
  To: io-uring

Hi,

Here's a series that implements:

- Support for multi-shot poll. This allows arming a poll request for a
  given event mask, and then have it trigger multiple times. The default
  behavior for io_uring POLL_ADD has been one-shot, where one SQE issued
  will result in one CQE filled (when the event triggers) and termination
  of the poll request after that. With multi-shot, one POLL_ADD will
  generate a CQE every time the event triggers.

- Support for POLL_ADD updates. This allows updating the event mask (only)
  of an existing poll request, both one-shot and multi-shot.

Outside of that, just a few cleanups, and Pavel's change how overflowed
CQEs are handled.

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-03-19 13:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17 16:29 [PATCHSET for-next 0/9] Poll improvements Jens Axboe
2021-03-17 16:29 ` [PATCH 1/9] io_uring: correct comment on poll vs iopoll Jens Axboe
2021-03-17 16:29 ` [PATCH 2/9] io_uring: transform ret == 0 for poll cancelation completions Jens Axboe
2021-03-17 16:29 ` [PATCH 3/9] io_uring: allocate memory for overflowed CQEs Jens Axboe
2021-03-17 16:29 ` [PATCH 4/9] io_uring: include cflags in completion trace event Jens Axboe
2021-03-17 16:29 ` [PATCH 5/9] io_uring: add multishot mode for IORING_OP_POLL_ADD Jens Axboe
2021-03-17 16:29 ` [PATCH 6/9] io_uring: abstract out helper for removing poll waitqs/hashes Jens Axboe
2021-03-17 16:29 ` [PATCH 7/9] io_uring: terminate multishot poll for CQ ring overflow Jens Axboe
2021-03-17 16:29 ` [PATCH 8/9] io_uring: abstract out a io_poll_find_helper() Jens Axboe
2021-03-17 16:29 ` [PATCH 9/9] io_uring: allow events update of running poll requests Jens Axboe
2021-03-19  3:31   ` Hao Xu
2021-03-19 13:37     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox