Add pre_read option
[fio.git] / options.c
index 9267f790ca3ac6fbd59a11f2cbf5c3ea1629bb57..a45d1af6b7d9f17c316def4b0bfa6d48b515763e 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1334,6 +1334,13 @@ static struct fio_option options[] = {
                .help   = "Create files when they are opened for IO",
                .def    = "0",
        },
+       {
+               .name   = "pre_read",
+               .type   = FIO_OPT_BOOL,
+               .off1   = td_var_offset(pre_read),
+               .help   = "Preread files before starting official testing",
+               .def    = "0",
+       },
        {
                .name   = "cpuload",
                .type   = FIO_OPT_INT,