Add LFSR generator
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/options.c b/options.c
index ae85988..d46bcbb 100644
--- a/options.c
+++ b/options.c
@@ -1512,6 +1512,23 @@
.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,
.off1 = td_var_offset(random_distribution),