X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=filesetup.c;h=aa1a39455c1ee12285f795d668780ca8f7e8bceb;hb=71144e676e710b37966f447ccd8d944813dfa6d1;hp=c0fa3cdae882b0a738dce77c07a585616c31e937;hpb=ed06087e5f4f5dcb6660d1095005c777bcd661cb;p=fio.git diff --git a/filesetup.c b/filesetup.c index c0fa3cda..aa1a3945 100644 --- 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.