configure: new --dynamic-libengines build option
[fio.git] / engines / http.c
index a35c03327ec1f2751711ab73f64a5b42113e65e4..7a61b132b92bd72b94ebdc9915e311235b53fc56 100644 (file)
@@ -639,10 +639,10 @@ static int fio_http_invalidate(struct thread_data *td, struct fio_file *f)
        return 0;
 }
 
-static struct ioengine_ops ioengine = {
+FIO_STATIC struct ioengine_ops ioengine = {
        .name = "http",
        .version                = FIO_IOOPS_VERSION,
-       .flags                  = FIO_DISKLESSIO,
+       .flags                  = FIO_DISKLESSIO | FIO_SYNCIO,
        .setup                  = fio_http_setup,
        .queue                  = fio_http_queue,
        .getevents              = fio_http_getevents,