Don't free the string options
[fio.git] / options.c
index 5401f90339bf7da688b8e645656cec3a24ee7228..f8e89f381bbd171fbed1877066f33c744dd7a6e1 100644 (file)
--- a/options.c
+++ b/options.c
@@ -538,6 +538,13 @@ static struct fio_option options[] = {
                          },
                },
        },
+       {
+               .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,
@@ -901,7 +908,9 @@ void options_mem_dupe(struct thread_data *td)
        __options_mem(td, 1);
 }
 
-void options_mem_free(struct thread_data *td)
+void options_mem_free(struct thread_data fio_unused *td)
 {
+#if 0
        __options_mem(td, 0);
+#endif
 }