summaryrefslogtreecommitdiff
path: root/io_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'io_u.c')
-rw-r--r--io_u.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/io_u.c b/io_u.c
index e1ac2097..0c5bbad8 100644
--- a/io_u.c
+++ b/io_u.c
@@ -1752,6 +1752,9 @@ static void file_log_write_comp(const struct thread_data *td, struct fio_file *f
static bool should_account(struct thread_data *td)
{
+ if (td->parent)
+ td = td->parent;
+
return lat_step_account(td) && ramp_time_over(td) &&
(td->runstate == TD_RUNNING || td->runstate == TD_VERIFYING);
}