projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ddir is of type enum fio_ddir
[fio.git]
/
log.c
diff --git
a/log.c
b/log.c
index 92bcebfcca5248961b3bf1dfa74f3240199c5089..ba5d75bf2a54701b2435a5992e468849512490b3 100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-173,9
+173,10
@@
static int read_iolog2(struct thread_data *td, FILE *f)
{
unsigned long long offset;
unsigned int bytes;
{
unsigned long long offset;
unsigned int bytes;
- int r
w, r
eads, writes, fileno = 0, file_action = 0; /* stupid gcc */
+ int reads, writes, fileno = 0, file_action = 0; /* stupid gcc */
char *fname, *act;
char *str, *p;
char *fname, *act;
char *str, *p;
+ enum fio_ddir rw;
free_release_files(td);
free_release_files(td);
@@
-246,7
+247,7
@@
static int read_iolog2(struct thread_data *td, FILE *f)
INIT_LIST_HEAD(&ipo->list);
ipo->offset = offset;
ipo->len = bytes;
INIT_LIST_HEAD(&ipo->list);
ipo->offset = offset;
ipo->len = bytes;
- ipo->ddir =
(enum fio_ddir)
rw;
+ ipo->ddir = rw;
if (bytes > td->o.max_bs[rw])
td->o.max_bs[rw] = bytes;
if (rw == DDIR_INVAL) {
if (bytes > td->o.max_bs[rw])
td->o.max_bs[rw] = bytes;
if (rw == DDIR_INVAL) {