io_uring: add required event wait time
authorJens Axboe <axboe@kernel.dk>
Tue, 9 Aug 2022 20:56:28 +0000 (14:56 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 7 Oct 2022 19:47:05 +0000 (13:47 -0600)
commit032697d728f67e96971eae9c84a2040053459a39
tree0cefc75889f6422c49af14e4d574464c4cc31b2f
parente08466a7c00733a501d3c5328d29ec974478d717
io_uring: add required event wait time

io_uring already supports waiting for a minimum number of events,
and a max time to wait for them. Add support for waiting for a minimum
amount of time as well. This allows wait-pacing, where the application
can say "wait until X events are available, or Y usecs at least".

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
io_uring/io_uring.c