projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f111f76
)
iolog: Fix problem with setup() not invoked when read_iolog is used.
author
Adam Kupczyk
<akupczyk@redhat.com>
Mon, 24 Sep 2018 11:29:39 +0000
(13:29 +0200)
committer
Adam Kupczyk
<akupczyk@redhat.com>
Mon, 24 Sep 2018 11:29:39 +0000
(13:29 +0200)
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
filesetup.c
patch
|
blob
|
blame
|
history
diff --git
a/filesetup.c
b/filesetup.c
index 580403dbc232aa8676d2a3933c3eac4a5f7e31a5..25dd907f978054bf0cb63f6dba5b77d3ad6e626a 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-908,9
+908,6
@@
int setup_files(struct thread_data *td)
old_state = td_bump_runstate(td, TD_SETTING_UP);
- if (o->read_iolog_file)
- goto done;
-
/*
* Find out physical size of files or devices for this thread,
* before we determine I/O size and range of our targets.
@@
-926,6
+923,9
@@
int setup_files(struct thread_data *td)
if (err)
goto err_out;
+ if (o->read_iolog_file)
+ goto done;
+
/*
* check sizes. if the files/devices do not exist and the size
* isn't passed to fio, abort.