X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=options.c;h=d46bcbbcf6c9cab8fc1c41e8800bc5071429ccd9;hb=c4fc0ff1a313de8f113689950d36eabea65ce310;hp=ae8598825e048a783da985bf9c6d89b8fb2530a2;hpb=18ded917799ea71ff950360fab7eebebe3c2f406;p=fio.git 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,