engine/filecreate: use clat and reads for stats
[fio.git] / engines / filecreate.c
index d753df24c94f830b6ef581a754677a8c0212b1ff..00562c861c2be580083f60032dfc368914c8e6f3 100644 (file)
@@ -46,7 +46,7 @@ static int open_file(struct thread_data *td, struct fio_file *f)
                uint64_t nsec;
 
                nsec = ntime_since_now(&start);
-               add_lat_sample(td, DDIR_WRITE, nsec, 0, 0);
+               add_clat_sample(td, DDIR_READ, nsec, 0, 0);
        }
 
        return 0;