Add rw_sequencer option
[fio.git] / options.c
index c9fb88625b5c2ac6754ff28bc4511c917057c74d..10e58dbad5caad8c56be621c2df57fe5e3e4ed29 100644 (file)
--- a/options.c
+++ b/options.c
@@ -881,6 +881,24 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                          },
                },
        },
                          },
                },
        },
+       {
+               .name   = "rw_sequencer",
+               .type   = FIO_OPT_STR,
+               .off1   = td_var_offset(rw_seq),
+               .help   = "IO offset generator modifier",
+               .def    = "sequential",
+               .posval = {
+                         { .ival = "sequential",
+                           .oval = RW_SEQ_SEQ,
+                           .help = "Generate sequential offsets",
+                         },
+                         { .ival = "identical",
+                           .oval = RW_SEQ_IDENT,
+                           .help = "Generate identical offsets",
+                         },
+               },
+       },
+
        {
                .name   = "ioengine",
                .type   = FIO_OPT_STR_STORE,
        {
                .name   = "ioengine",
                .type   = FIO_OPT_STR_STORE,