fio: allow 0 as compress percentage
[fio.git] / options.c
index 04fb506a6e9cfffd234e0b898eee08e600cb81c2..ac101a3fe27ae7baa68ea21583f4ea41ebb2c4f7 100644 (file)
--- a/options.c
+++ b/options.c
@@ -3069,7 +3069,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = {
                .type   = FIO_OPT_INT,
                .off1   = td_var_offset(compress_percentage),
                .maxval = 100,
-               .minval = 1,
+               .minval = 0,
                .help   = "How compressible the buffer is (approximately)",
                .interval = 5,
                .category = FIO_OPT_C_IO,