Update fio io engine version
[fio.git] / options.c
index 7d4396e81d1aa637748bd135c52e520c09beb7ca..aeba5201e7303a2d83d9e34e7a3110dc0be2f7a4 100644 (file)
--- a/options.c
+++ b/options.c
@@ -32,7 +32,7 @@ static int str_rw_cb(void *data, const char *str)
        struct thread_data *td = data;
        char *nr = get_opt_postfix(str);
 
-       td->o.ddir_nr = 0;
+       td->o.ddir_nr = 1;
        if (nr)
                td->o.ddir_nr = atoi(nr);
 
@@ -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,