X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_u.c;h=8863fa749f13ece7342484101db132ee94d8714a;hp=62a76b9db9c4b98759fbb46f86231ea0c9ac9539;hb=993bf48b48f2d9724afa3698a15070e77bc5d1c0;hpb=3e4889209b86409283d1e87bb6b5c9980495c2c6 diff --git a/io_u.c b/io_u.c index 62a76b9d..8863fa74 100644 --- a/io_u.c +++ b/io_u.c @@ -851,7 +851,8 @@ struct io_u *get_io_u(struct thread_data *td) out: if (!td_io_prep(td, io_u)) { - fio_gettime(&io_u->start_time, NULL); + if (!td->o.disable_slat) + fio_gettime(&io_u->start_time, NULL); return io_u; } err_put: