X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filesetup.c;h=7dceddbbf4dc21077d312dace3fa2321ba04f037;hp=0fb5589b7c33ce1aa154c21ecf42cf52a682c4d8;hb=56d9fa4b8d4fa5166e3ec5dcdd37b5789b2cb01d;hpb=16ada7542f32b38c1189390a97b595948079b100 diff --git a/filesetup.c b/filesetup.c index 0fb5589b..7dceddbb 100644 --- a/filesetup.c +++ b/filesetup.c @@ -998,8 +998,10 @@ static int __init_rand_distribution(struct thread_data *td, struct fio_file *f) if (td->o.random_distribution == FIO_RAND_DIST_ZIPF) zipf_init(&f->zipf, nranges, td->o.zipf_theta.u.f, seed); - else + else if (td->o.random_distribution == FIO_RAND_DIST_PARETO) pareto_init(&f->zipf, nranges, td->o.pareto_h.u.f, seed); + else if (td->o.random_distribution == FIO_RAND_DIST_GAUSS) + gauss_init(&f->gauss, nranges, td->o.gauss_dev, seed); return 1; }