diff options
author | David Wei <davidhwei@meta.com> | 2023-04-18 15:58:18 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-18 19:38:36 -0600 |
commit | ea97f6c8558e83cb457c3b5f53351e4fd8519ab1 (patch) | |
tree | e294b2a17ce99a18af919302ea590eb91e01c24d /io_uring/rsrc.c | |
parent | 2236b3905b4d4e9cd4d149ab35767858c02bb79b (diff) |
io_uring: add support for multishot timeouts
A multishot timeout submission will repeatedly generate completions with
the IORING_CQE_F_MORE cflag set. Depending on the value of the `off'
field in the submission, these timeouts can either repeat indefinitely
until cancelled (`off' = 0) or for a fixed number of times (`off' > 0).
Only noseq timeouts (i.e. not dependent on the number of I/O
completions) are supported.
An indefinite timer will be cancelled if the CQ ever overflows.
Signed-off-by: David Wei <davidhwei@meta.com>
Link: https://lore.kernel.org/r/20230418225817.1905027-1-davidhwei@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rsrc.c')
0 files changed, 0 insertions, 0 deletions