Add version 2 of the iolog format
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index b636f576eb808caa286eef42c3e3e7bc68bc8d8a..309969a6c2164d8e274fd2b31eac5ade246166d4 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -357,9 +357,7 @@ static int fill_io_u(struct thread_data *td, struct io_u *io_u)
         * If using a write iolog, store this entry.
         */
 out:
-       if (td->o.write_iolog_file)
-               write_iolog_put(td, io_u);
-
+       log_io_u(td, io_u);
        return 0;
 }