From 8f7630813305a4f4f04a5f9ba20b2a7d486c0cfb Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 7 Mar 2017 10:18:53 -0700 Subject: [PATCH 1/1] io_u: don't add slat samples if we are in ramp time Signed-off-by: Jens Axboe --- io_u.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1