Add option for io_limit
[fio.git] / options.c
index 50af7b499f4b37bfcda231dcfef0aaebf9e8d7f8..163c5fc9298595a4a26184371db6c74448244921 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1594,6 +1594,15 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                .category = FIO_OPT_C_IO,
                .group  = FIO_OPT_G_INVALID,
        },
+       {
+               .name   = "io_limit",
+               .lname  = "IO Limit",
+               .type   = FIO_OPT_STR_VAL,
+               .off1   = td_var_offset(io_limit),
+               .interval = 1024 * 1024,
+               .category = FIO_OPT_C_IO,
+               .group  = FIO_OPT_G_INVALID,
+       },
        {
                .name   = "fill_device",
                .lname  = "Fill device",