Add option for controlling buffer scrambling
[fio.git] / options.c
index 74c24d02d5d4bc200da3cf671c64d363d02e92a4..5252477b6e0756888d6cc3bd42b8dcdc5b492e4b 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1966,6 +1966,13 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .off1   = td_var_offset(refill_buffers),
                .help   = "Refill IO buffers on every IO submit",
        },
+       {
+               .name   = "scramble_buffers",
+               .type   = FIO_OPT_BOOL,
+               .off1   = td_var_offset(scramble_buffers),
+               .help   = "Slightly scramble buffers on every IO submit",
+               .def    = "1",
+       },
        {
                .name   = "clat_percentiles",
                .type   = FIO_OPT_BOOL,