fusion atomic: retrieve all capabilities and support larger writes
[fio.git] / options.c
index 97c5b6f93669170981312e58e62f59d98c7730c9..e9df6a8ed0d7b2c6e6a60e8465a4ddcd6d924059 100644 (file)
--- a/options.c
+++ b/options.c
@@ -381,7 +381,6 @@ static int str_perc_rand_cb(void *data, unsigned long long *val)
        struct thread_data *td = data;
 
        td->o.perc_rand = *val;
-       td->o.perc_seq = 100 - *val;
        return 0;
 }
 
@@ -389,7 +388,6 @@ static int str_perc_seq_cb(void *data, unsigned long long *val)
 {
        struct thread_data *td = data;
 
-       td->o.perc_seq = *val;
        td->o.perc_rand = 100 - *val;
        return 0;
 }
@@ -1304,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",