X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=8034cd7dad755b58c5f546e64fb083be79ec49a4;hp=d777efc7efe8293320ed3ff2f529f31047af21a2;hb=9c42684e32325da26e862280388798343c5f1305;hpb=52ad4b94056b594b0fa1012467f944804a8241db diff --git a/options.c b/options.c index d777efc7..8034cd7d 100644 --- a/options.c +++ b/options.c @@ -2013,6 +2013,14 @@ static struct fio_option options[FIO_MAX_OPTS] = { .help = "Slightly scramble buffers on every IO submit", .def = "1", }, + { + .name = "buffer_compress_percentage", + .type = FIO_OPT_INT, + .off1 = td_var_offset(compress_percentage), + .maxval = 100, + .minval = 1, + .help = "How compressible the buffer is (approximately)", + }, { .name = "clat_percentiles", .type = FIO_OPT_BOOL,