Fix name of the slat log file
authorRadha Ramachandran <radha@google.com>
Wed, 29 Apr 2009 05:23:26 +0000 (07:23 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 29 Apr 2009 05:23:26 +0000 (07:23 +0200)
Currently the slat and clat logs go to the same clat log file when the
latency log file is specified.

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

diff --git a/fio.c b/fio.c
index ad2282d..ff77c91 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -1086,7 +1086,7 @@ static void *thread_main(void *data)
        if (td->ts.slat_log) {
                if (td->o.lat_log_file) {
                        finish_log_named(td, td->ts.slat_log,
-                                               td->o.lat_log_file, "clat");
+                                               td->o.lat_log_file, "slat");
                } else
                        finish_log(td, td->ts.slat_log, "slat");
        }