Improve random verify block sorting
[fio.git] / options.c
index bbb30990d28ba06955ea458a3b809f463a41e79c..aeba5201e7303a2d83d9e34e7a3110dc0be2f7a4 100644 (file)
--- a/options.c
+++ b/options.c
@@ -531,8 +531,20 @@ static struct fio_option options[] = {
                            .oval = VERIFY_MD5,
                            .help = "Use md5 checksums for verification",
                          },
+                         {
+                           .ival = "null",
+                           .oval = VERIFY_NULL,
+                           .help = "Pretend to verify",
+                         },
                },
        },
+       {
+               .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,