Fix slat numbers
authorJens Axboe <jens.axboe@oracle.com>
Wed, 10 Jun 2009 04:57:47 +0000 (06:57 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 10 Jun 2009 04:57:47 +0000 (06:57 +0200)
After commit 306ddc9752eef70c3fbb111af63d197a3a6d447f, it was logging
the blocksize since arguments 3 and 4 were switched.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
io_u.c

diff --git a/io_u.c b/io_u.c
index 72f5ff2c707f3a5ae95b65acb002f460c4dabc17..126a9a8bb3acd207993f2f047569a6c3222b89a2 100644 (file)
--- 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);
        }
 }