Fix offset_increment option and add man page entry for it
[fio.git] / options.c
index 8034cd7dad755b58c5f546e64fb083be79ec49a4..e0f6422ba173f14a86f8d4e0b198413accabab29 100644 (file)
--- a/options.c
+++ b/options.c
@@ -2021,6 +2021,13 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .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,
@@ -2208,6 +2215,13 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .parent = "flow_id",
                .def    = "0",
        },
+       {
+               .name   = "offset_increment",
+               .type   = FIO_OPT_STR_VAL,
+               .off1   = td_var_offset(offset_increment),
+               .help   = "What is the increment from one offset to the next",
+               .def    = "0",
+       },
        {
                .name = NULL,
        },