* Fix name of the slat log file
@ 2009-04-28 21:39 Radha Ramachandran
2009-04-29 5:24 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Radha Ramachandran @ 2009-04-28 21:39 UTC (permalink / raw)
To: fio
Fix the name of the latency log file:
Currently the slat and clat logs go to the same clat log file when the
latency log file is specified.
diff -up fio.c.orig fio.c
--- fio.c.orig 2009-04-28 14:37:50.049570000 -0700
+++ fio.c 2009-04-28 14:38:17.306291000 -0700
@@ -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");
}
thanks
-radha
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fix name of the slat log file
2009-04-28 21:39 Fix name of the slat log file Radha Ramachandran
@ 2009-04-29 5:24 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2009-04-29 5:24 UTC (permalink / raw)
To: Radha Ramachandran; +Cc: fio
On Tue, Apr 28 2009, Radha Ramachandran wrote:
> Fix the name of the latency log file:
> Currently the slat and clat logs go to the same clat log file when the
> latency log file is specified.
Bad copy'n paste error... Applied, thanks!
>
> diff -up fio.c.orig fio.c
> --- fio.c.orig 2009-04-28 14:37:50.049570000 -0700
> +++ fio.c 2009-04-28 14:38:17.306291000 -0700
> @@ -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");
> }
>
> thanks
> -radha
> --
> To unsubscribe from this list: send the line "unsubscribe fio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-29 5:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 21:39 Fix name of the slat log file Radha Ramachandran
2009-04-29 5:24 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox