projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iolog: skip max_bs[rw] increment for rw == DDIR_INVAL
[fio.git]
/
iolog.c
diff --git
a/iolog.c
b/iolog.c
index e805eaef9a94595cb5327becf0eb931362179b8a..1eb89b29171c2796ce0df8743cdb40b866a1b5e6 100644
(file)
--- a/
iolog.c
+++ b/
iolog.c
@@
-371,7
+371,7
@@
static int read_iolog2(struct thread_data *td, FILE *f)
} else {
ipo->offset = offset;
ipo->len = bytes;
- if (bytes > td->o.max_bs[rw])
+ if (
rw != DDIR_INVAL &&
bytes > td->o.max_bs[rw])
td->o.max_bs[rw] = bytes;
ipo->fileno = fileno;
ipo->file_action = file_action;