log: fix for crash with rate IO and logging
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 428d4b7ff42adc54a397cfa6ed810edb0a2850f4..7420629740f458ca644fcc2de47891f359d78cd5 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -653,6 +653,9 @@ int io_u_quiesce(struct thread_data *td)
                        completed += ret;
        }
 
+       if (td->flags & TD_F_REGROW_LOGS)
+               regrow_logs(td);
+
        return completed;
 }