projects
/
disktools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599002b
)
[PATCH] fio: rename stat file + location, it wasn't reliable before
author
Jens Axboe
<axboe@suse.de>
Fri, 21 Oct 2005 14:57:15 +0000
(16:57 +0200)
committer
Jens Axboe
<axboe@suse.de>
Fri, 21 Oct 2005 14:57:15 +0000
(16:57 +0200)
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index 1abb1f9ca68c5afa0768bae30b040d292aab6eb5..5ce9350892f40009c6e5a8385349b3c0a6b5f983 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-235,7
+235,7
@@
static int init_stat_file(struct thread_data *td)
if (!write_stat)
return 0;
- sprintf(n, "
%s.stat", td->file_name
);
+ sprintf(n, "
fio_thread%d.stat", td->thread_number
);
td->stat_fd = open(n, O_WRONLY | O_CREAT | O_TRUNC, 0644);
if (td->stat_fd == -1) {
perror("open stat file");