The following changes since commit a57d3fdce796f1bb516c74db95d016bb6db170c1: Merge branch 'master' of https://github.com/cccheng/fio (2022-03-28 06:43:56 -0600) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to 5e644771eb91e91dd0fa32f4b51f90c44853a2b1: Merge branch 'status-interval-finished-jobs' of https://github.com/mmkayPL/fio (2022-03-29 06:30:44 -0600) ---------------------------------------------------------------- Jens Axboe (1): Merge branch 'status-interval-finished-jobs' of https://github.com/mmkayPL/fio Kozlowski Mateusz (1): Handle finished jobs when using status-interval stat.c | 6 ++++++ 1 file changed, 6 insertions(+) --- Diff of recent changes: diff --git a/stat.c b/stat.c index 7947edb4..356083e2 100644 --- a/stat.c +++ b/stat.c @@ -2731,6 +2731,9 @@ int __show_running_run_stats(void) fio_gettime(&ts, NULL); for_each_td(td, i) { + if (td->runstate >= TD_EXITED) + continue; + td->update_rusage = 1; for_each_rw_ddir(ddir) { td->ts.io_bytes[ddir] = td->io_bytes[ddir]; @@ -2759,6 +2762,9 @@ int __show_running_run_stats(void) __show_run_stats(); for_each_td(td, i) { + if (td->runstate >= TD_EXITED) + continue; + if (td_read(td) && td->ts.io_bytes[DDIR_READ]) td->ts.runtime[DDIR_READ] -= rt[i]; if (td_write(td) && td->ts.io_bytes[DDIR_WRITE])