projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976406b
)
iolog: skip max_bs[rw] increment for rw == DDIR_INVAL
author
Jens Axboe
<axboe@fb.com>
Wed, 9 Apr 2014 03:18:37 +0000
(21:18 -0600)
committer
Jens Axboe
<axboe@fb.com>
Wed, 9 Apr 2014 03:18:37 +0000
(21:18 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
iolog.c
patch
|
blob
|
blame
|
history
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;