Improve random verify block sorting
Add an option to control it and also check the nosort flag in file
layout to further catch a case where sorting isn't needed.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c
index 5401f90..aeba520 100644
--- a/options.c
+++ b/options.c
@@ -539,6 +539,13 @@
},
},
{
+ .name = "verifysort",
+ .type = FIO_OPT_BOOL,
+ .off1 = td_var_offset(verifysort),
+ .help = "Sort written verify blocks for read back",
+ .def = "1",
+ },
+ {
.name = "write_iolog",
.type = FIO_OPT_STR_STORE,
.off1 = td_var_offset(write_iolog_file),