engines/filecreate: set FIO_NOSTATS flag
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 58c23202bd3d20bb1eee1b4fbcf1731d9bf312ea..fb4180a3bc35f16cf6a0463b01be1ff9b9e7f347 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -1779,7 +1779,7 @@ static void account_io_completion(struct thread_data *td, struct io_u *io_u,
        if (td->parent)
                td = td->parent;
 
-       if (!td->o.stats)
+       if (!td->o.stats || td_ioengine_flagged(td, FIO_NOSTATS))
                return;
 
        if (no_reduce)