From e7f5de90cbc0b51d4300a9fc0d080275b2730a32 Mon Sep 17 00:00:00 2001 From: Peter Oberparleiter Date: Thu, 20 Feb 2014 14:20:07 +0100 Subject: [PATCH] fio: allow 0 as compress percentage Allow 0 as value for option compress_percentage which can be useful for certain deduplication and compression based storage back ends. Signed-off-by: Christian Ehrhardt Signed-off-by: Jens Axboe --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.c b/options.c index 04fb506a..ac101a3f 100644 --- 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, -- 2.25.1