[PATCH] Allow verification to be done at finer granularity
[fio.git] / options.c
index 3bf0d24728a276c09557d9d7f21e4b0d4ccfc1d0..829b808ce5be554f1f9092dbfdf9c7c022095dfb 100644 (file)
--- a/options.c
+++ b/options.c
@@ -603,6 +603,13 @@ static struct fio_option options[] = {
                .help   = "Sort written verify blocks for read back",
                .def    = "1",
        },
                .help   = "Sort written verify blocks for read back",
                .def    = "1",
        },
+       {
+               .name   = "header_interval",
+               .type   = FIO_OPT_STR_VAL_INT,
+               .off1   = td_var_offset(header_interval),
+               .help   = "Store buffer header every N bytes",
+               .def    = "0",
+       },
        {
                .name   = "write_iolog",
                .type   = FIO_OPT_STR_STORE,
        {
                .name   = "write_iolog",
                .type   = FIO_OPT_STR_STORE,