projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gfio: add trim UI support
[fio.git]
/
blktrace.c
diff --git
a/blktrace.c
b/blktrace.c
index dea1be4fad9f0b7594cb755eaafc9d5990d0dcf9..e195f7f1fdbf4dea9eff8b252b606273431027a1 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-418,8
+418,10
@@
int load_blktrace(struct thread_data *td, const char *filename)
}
} while (1);
- for_each_file(td, f, i)
+ for (i = 0; i < td->files_index; i++) {
+ f= td->files[i];
trace_add_open_close_event(td, f->fileno, FIO_LOG_CLOSE_FILE);
+ }
fifo_free(fifo);
close(fd);