X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=options.c;h=8034cd7dad755b58c5f546e64fb083be79ec49a4;hb=811ac503a6196f13da22565eb165c278988da4da;hp=d777efc7efe8293320ed3ff2f529f31047af21a2;hpb=e3aaafc4e902a0f78b8ee4d4bc85f8edac6e09d2;p=fio.git 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,