t/nvmept_trim: increase transfer size for some tests
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index f52a9a80f7ef4e9546e1f0acf159a2eb6d3e255f..96af4f33e186dd4ec1a02b851a1c7ae4c0b1eaeb 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -102,6 +102,8 @@ static void iolog_delay(struct thread_data *td, unsigned long delay)
                ret = io_u_queued_complete(td, 0);
                if (ret < 0)
                        td_verror(td, -ret, "io_u_queued_complete");
+               if (td->flags & TD_F_REGROW_LOGS)
+                       regrow_logs(td);
                if (utime_since_now(&ts) > delay)
                        break;
        }
@@ -812,6 +814,8 @@ bool init_iolog(struct thread_data *td)
        if (!ret)
                td_verror(td, EINVAL, "failed initializing iolog");
 
+       init_disk_util(td);
+
        return ret;
 }