X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=714741a038ae94e248357a3295cb78db155ec7d9;hp=6cd899753cc133c3c2fd83abbc7f36d9c939173e;hb=814479d5805f49a5c44263c61848874a92dc1caf;hpb=c9c63318734feb94eae3013fa1b606d6da744655 diff --git a/options.c b/options.c index 6cd89975..714741a0 100644 --- a/options.c +++ b/options.c @@ -2129,6 +2129,21 @@ static struct fio_option options[FIO_MAX_OPTS] = { .def = "1", .category = FIO_OPT_G_IO_BUF, }, + { + .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 = "buffer_compress_chunk", + .type = FIO_OPT_INT, + .off1 = td_var_offset(compress_chunk), + .parent = "buffer_compress_percentage", + .help = "Size of compressible region in buffer", + }, { .name = "clat_percentiles", .type = FIO_OPT_BOOL,