Add option for controlling buffer scrambling
scramble_buffers bool option, defaults to on.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/options.c b/options.c
index 74c24d0..5252477 100644
--- a/options.c
+++ b/options.c
@@ -1967,6 +1967,13 @@
.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,
.off1 = td_var_offset(clat_percentiles),