From 29a90ddbe14d438463617e4629f7a9138854d466 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 10 Jun 2009 06:57:47 +0200 Subject: [PATCH 1/1] Fix slat numbers After commit 306ddc9752eef70c3fbb111af63d197a3a6d447f, it was logging the blocksize since arguments 3 and 4 were switched. 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 72f5ff2c..126a9a8b 100644 --- a/io_u.c +++ b/io_u.c @@ -1086,7 +1086,7 @@ void io_u_queued(struct thread_data *td, struct io_u *io_u) unsigned long slat_time; slat_time = utime_since(&io_u->start_time, &io_u->issue_time); - add_slat_sample(td, io_u->ddir, io_u->xfer_buflen, slat_time); + add_slat_sample(td, io_u->ddir, slat_time, io_u->xfer_buflen); } } -- 2.25.1