Merge branch 'wip-http-engine' of https://github.com/l-mb/fio
[fio.git] / options.c
index 1c28a0214c66c97f5e210202b5a6cb0086b82225..9ee1ba3c93204f5d6f8953cf188ec3010fc921f9 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1013,9 +1013,7 @@ static int parse_zoned_distribution(struct thread_data *td, const char *input,
                return ret;
        }
 
-       if (!ret)
-               td_zone_gen_index(td);
-       else {
+       if (ret) {
                for (i = 0; i < DDIR_RWDIR_CNT; i++)
                        td->o.zone_split_nr[i] = 0;
        }
@@ -1864,6 +1862,11 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                          { .ival = "libpmem",
                            .help = "PMDK libpmem based IO engine",
                          },
+#endif
+#ifdef CONFIG_HTTP
+                         { .ival = "http",
+                           .help = "HTTP (WebDAV/S3) IO engine",
+                         },
 #endif
                },
        },