Add thread number to log filename
authorJens Axboe <axboe@fb.com>
Wed, 9 Jul 2014 08:31:34 +0000 (10:31 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 9 Jul 2014 08:31:34 +0000 (10:31 +0200)
commit8ad3b3dd6b1fc9a63f5932340b17d504c9e4ce56
treeead20daf31589f5626fc88c6dffaad2781bd2a7a
parent5930db2c065082e4514587de5ccfc6624f73dcc2
Add thread number to log filename

Since commit aee2ab6775d9, we open the log files for writing and
truncate the output. This breaks when you have multiple jobs with
the same name, as will happen with numjobs=x. Instead of reverting
this part of the commit, lets keep the truncate open and instead
store log files separately. This makes more sense anyway, since
otherwise the logs are all the entries from job X, then all the
entries from job Y, etc. It's easy enough to collate the logs,
should anyone want to do that.

Signed-off-by: Jens Axboe <axboe@fb.com>
HOWTO
fio.1
init.c