Fix wrap bug in mtime_since()
[fio.git] / options.c
index 8034cd7dad755b58c5f546e64fb083be79ec49a4..3de0221e26eb5ab03d4f6e664be41e5c50ce5bb6 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1118,6 +1118,14 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .help   = "Start IO from this offset",
                .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",
+               .parent = "offset",
+               .def    = "0",
+       },
        {
                .name   = "bs",
                .alias  = "blocksize",
@@ -2021,6 +2029,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,