Switch to using our internal Tausworthe based random generator for offsets
[fio.git] / options.c
index 55d11ae719aaf0e3c4af957b99df3a9d3948be63..28a17cf4a20870f6e86c44b68d591e576cbc967e 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1115,6 +1115,14 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .def    = "1",
                .parent = "rw",
        },
+       {
+               .name   = "use_os_rand",
+               .type   = FIO_OPT_BOOL,
+               .off1   = td_var_offset(use_os_rand),
+               .help   = "Set to use OS random generator",
+               .def    = "0",
+               .parent = "rw",
+       },
        {
                .name   = "norandommap",
                .type   = FIO_OPT_STR_SET,