filesetup: create zbd_info before jumping to done label
[fio.git] / filesetup.c
index 228e4fffe3c5e7dd509a9ac642497093aca35f87..fb556d8444e4a1a29b027a6e53ffecab3708898d 100644 (file)
@@ -1119,9 +1119,6 @@ int setup_files(struct thread_data *td)
        if (err)
                goto err_out;
 
-       if (o->read_iolog_file)
-               goto done;
-
        if (td->o.zone_mode == ZONE_MODE_ZBD) {
                err = zbd_init_files(td);
                if (err)
@@ -1129,6 +1126,9 @@ int setup_files(struct thread_data *td)
        }
        zbd_recalc_options_with_zone_granularity(td);
 
+       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.