aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMarcelo Diop-Gonzalez <[email protected]>2021-01-15 11:54:40 -0500
committerJens Axboe <[email protected]>2021-01-15 10:02:28 -0700
commitf010505b78a4fa8d5b6480752566e7313fb5ca6e (patch)
treee441b11c2ebe22618a96bb6db65ff88d66fb5753 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent06585c497b55045ec21aa8128e340f6a6587351c (diff)
io_uring: flush timeouts that should already have expired
Right now io_flush_timeouts() checks if the current number of events is equal to ->timeout.target_seq, but this will miss some timeouts if there have been more than 1 event added since the last time they were flushed (possible in io_submit_flush_completions(), for example). Fix it by recording the last sequence at which timeouts were flushed so that the number of events seen can be compared to the number of events needed without overflow. Signed-off-by: Marcelo Diop-Gonzalez <[email protected]> Reviewed-by: Pavel Begunkov <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions