X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filesetup.c;h=57553c962ce9fdc65429207231c3dcd786bb9a13;hp=220ceb90a1f9f343983d3c483eba65590b2104c3;hb=d474cbc9ba33448848b50cc697622a402e91e33e;hpb=c3a1b740381cb19e467c8588562bac4d6cbbb199 diff --git a/filesetup.c b/filesetup.c index 220ceb90..57553c96 100644 --- a/filesetup.c +++ b/filesetup.c @@ -966,7 +966,7 @@ int init_random_map(struct thread_data *td) seed = td->rand_seeds[FIO_RAND_BLOCK_OFF]; - if (!lfsr_init(&f->lfsr, blocks, seed)) + if (!lfsr_init(&f->lfsr, blocks, seed, seed & 0xF)) continue; } else if (!td->o.norandommap) { f->io_axmap = axmap_new(blocks);