diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-08-28 02:11:06 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-29 16:57:23 +0300 |
commit | 50c1df2b56e0f581b1dbf334dbf807d6fb8f77b2 (patch) | |
tree | 66e2f1d3944cd9635942741a559d2c0deb049c69 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2e480058ddc21ec53a10e8b41623e245e908bdbc (diff) | |
download | linux-50c1df2b56e0f581b1dbf334dbf807d6fb8f77b2.tar.xz |
io_uring: support CLOCK_BOOTTIME/REALTIME for timeouts
Certain use cases want to use CLOCK_BOOTTIME or CLOCK_REALTIME rather than
CLOCK_MONOTONIC, instead of the default CLOCK_MONOTONIC.
Add an IORING_TIMEOUT_BOOTTIME and IORING_TIMEOUT_REALTIME flag that
allows timeouts and linked timeouts to use the selected clock source.
Only one clock source may be selected, and we -EINVAL the request if more
than one is given. If neither BOOTIME nor REALTIME are selected, the
previous default of MONOTONIC is used.
Link: https://github.com/axboe/liburing/issues/369
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions