gfio: only parse white color once
[fio.git] / options.c
index 6cd899753cc133c3c2fd83abbc7f36d9c939173e..714741a038ae94e248357a3295cb78db155ec7d9 100644 (file)
--- 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,