Fix offset_increment option and add man page entry for it
[fio.git] / options.c
index 068065966bcf7d910f36666ecc140035f92af8a9..e0f6422ba173f14a86f8d4e0b198413accabab29 100644 (file)
--- a/options.c
+++ b/options.c
@@ -2025,6 +2025,7 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .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",
        },
        {
@@ -2214,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,
        },