sync engine: add support for pwritev/preadv
[fio.git] / options.c
index 7a4e7b5773c4fb675779addb179d0a8863a26400..e9df6a8ed0d7b2c6e6a60e8465a4ddcd6d924059 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1302,6 +1302,11 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                          { .ival = "vsync",
                            .help = "Use readv/writev",
                          },
+#ifdef CONFIG_PWRITEV
+                         { .ival = "pvsync",
+                           .help = "Use preadv/pwritev",
+                         },
+#endif
 #ifdef CONFIG_LIBAIO
                          { .ival = "libaio",
                            .help = "Linux native asynchronous IO",