projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3cedca
)
Make log writing append
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 20 Nov 2008 08:13:04 +0000
(09:13 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 20 Nov 2008 08:13:04 +0000
(09:13 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
log.c
patch
|
blob
|
blame
|
history
diff --git
a/log.c
b/log.c
index 611aa9f9aa11e68bfe80c8f00d3b2c245de67636..01e4ad0b37c8fd5e954106bb86079856345ce579 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-388,7
+388,7
@@
static int init_iolog_write(struct thread_data *td)
FILE *f;
unsigned int i;
- f = fopen(td->o.write_iolog_file, "
w+
");
+ f = fopen(td->o.write_iolog_file, "
a
");
if (!f) {
perror("fopen write iolog");
return 1;
@@
-455,7
+455,7
@@
void __finish_log(struct io_log *log, const char *name)
unsigned int i;
FILE *f;
- f = fopen(name, "
w
");
+ f = fopen(name, "
a
");
if (!f) {
perror("fopen log");
return;