From: Jens Axboe Date: Tue, 7 Mar 2017 17:18:53 +0000 (-0700) Subject: io_u: don't add slat samples if we are in ramp time X-Git-Tag: fio-2.19~60 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=8f7630813305a4f4f04a5f9ba20b2a7d486c0cfb;hp=4ed22fe532123f81e618269e9a77b7b41e0e9cad;ds=inline io_u: don't add slat samples if we are in ramp time Signed-off-by: Jens Axboe --- diff --git a/io_u.c b/io_u.c index 46d97319..e12382b8 100644 --- a/io_u.c +++ b/io_u.c @@ -1994,7 +1994,7 @@ int io_u_queued_complete(struct thread_data *td, int min_evts) */ void io_u_queued(struct thread_data *td, struct io_u *io_u) { - if (!td->o.disable_slat) { + if (!td->o.disable_slat && ramp_time_over(td)) { unsigned long slat_time; slat_time = utime_since(&io_u->start_time, &io_u->issue_time);