X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=d46bcbbcf6c9cab8fc1c41e8800bc5071429ccd9;hp=ae8598825e048a783da985bf9c6d89b8fb2530a2;hb=8055e41d0ecc54770a2653427532b3e2c5fabdad;hpb=2ab9e98b300c35d3b7807f74d404ce3c5de33fb3 diff --git a/options.c b/options.c index ae859882..d46bcbbc 100644 --- a/options.c +++ b/options.c @@ -1511,6 +1511,23 @@ static struct fio_option options[FIO_MAX_OPTS] = { .parent = "norandommap", .def = "0", }, + { + .name = "random_generator", + .type = FIO_OPT_STR, + .off1 = td_var_offset(random_generator), + .help = "Type of random number generator to use", + .def = "tausworthe", + .posval = { + { .ival = "tausworthe", + .oval = FIO_RAND_GEN_TAUSWORTHE, + .help = "Strong Tausworthe generator", + }, + { .ival = "lfsr", + .oval = FIO_RAND_GEN_LFSR, + .help = "Variable length LFSR", + }, + }, + }, { .name = "random_distribution", .type = FIO_OPT_STR,