Support for setting rated based on IOPS
[fio.git] / options.c
index abd02c8c3b55055e4b73865182b0e5efa009e6f6..f502247d1eb6323b27a3960ec9e20b01ffa2c9ae 100644 (file)
--- a/options.c
+++ b/options.c
@@ -637,7 +637,19 @@ static struct fio_option options[] = {
                .name   = "ratemin",
                .type   = FIO_OPT_INT,
                .off1   = td_var_offset(ratemin),
-               .help   = "The bottom limit accepted",
+               .help   = "Job must meet this rate or it will be shutdown",
+       },
+       {
+               .name   = "rate_iops",
+               .type   = FIO_OPT_INT,
+               .off1   = td_var_offset(rate_iops),
+               .help   = "Limit IO used to this number of IO operations/sec",
+       },
+       {
+               .name   = "rate_iops_min",
+               .type   = FIO_OPT_INT,
+               .off1   = td_var_offset(rate_iops_min),
+               .help   = "Job must meet this rate or it will be shutdown",
        },
        {
                .name   = "ratecycle",