filesetup: improve LFSR init failure error message
[fio.git] / filesetup.c
index 1d3094c14796509c4f26a5b928bba3975dd8dc74..7d54c9f1ef5bc8f92b0e5bbf19285d2f7ecfed17 100644 (file)
@@ -1354,6 +1354,9 @@ bool init_random_map(struct thread_data *td)
                        if (!lfsr_init(&f->lfsr, blocks, seed, 0)) {
                                fio_file_set_lfsr(f);
                                continue;
+                       } else {
+                               log_err("fio: failed initializing LFSR\n");
+                               return false;
                        }
                } else if (!td->o.norandommap) {
                        f->io_axmap = axmap_new(blocks);