Add support for inverse options
[fio.git] / options.c
index 8681c218bf51e4c1068216af33a9c4a972119e0c..635779db0a6d31f3e7e9eb8cc26bfd88521fb9bd 100644 (file)
--- a/options.c
+++ b/options.c
@@ -2124,6 +2124,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                .help   = "Percentage of mixed workload that is reads",
                .def    = "50",
                .interval = 5,
+               .inverse = "rwmixwrite",
                .category = FIO_OPT_C_IO,
                .group  = FIO_OPT_G_RWMIX,
        },
@@ -2136,6 +2137,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                .help   = "Percentage of mixed workload that is writes",
                .def    = "50",
                .interval = 5,
+               .inverse = "rwmixread",
                .category = FIO_OPT_C_IO,
                .group  = FIO_OPT_G_RWMIX,
        },