Call path below SIGALRM isn't safe
[fio.git] / options.c
index e255e94f78cd552f35f53e0de9080bd04f94cf27..d111018820603fe0e3a578524872343929411ce8 100644 (file)
--- a/options.c
+++ b/options.c
@@ -973,6 +973,11 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                          { .ival = "guasi",
                            .help = "GUASI IO engine",
                          },
+#endif
+#ifdef FIO_HAVE_BINJECT
+                         { .ival = "binject",
+                           .help = "binject direct inject block engine",
+                         },
 #endif
                          { .ival = "external",
                            .help = "Load external engine (append name)",
@@ -1180,6 +1185,13 @@ static struct fio_option options[FIO_MAX_OPTS] = {
                .help   = "Issue fdatasync for writes every given number of blocks",
                .def    = "0",
        },
+       {
+               .name   = "write_barrier",
+               .type   = FIO_OPT_INT,
+               .off1   = td_var_offset(barrier_blocks),
+               .help   = "Make every Nth write a barrier write",
+               .def    = "0",
+       },
 #ifdef FIO_HAVE_SYNC_FILE_RANGE
        {
                .name   = "sync_file_range",