From: Jens Axboe Date: Wed, 10 Jun 2009 04:57:47 +0000 (+0200) Subject: Fix slat numbers X-Git-Tag: fio-1.27.3~1 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=29a90ddbe14d438463617e4629f7a9138854d466 Fix slat numbers After commit 306ddc9752eef70c3fbb111af63d197a3a6d447f, it was logging the blocksize since arguments 3 and 4 were switched. Signed-off-by: Jens Axboe --- 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); } }