Add a 'continue_on_error' option to fio
Add option to make fio continue on non-fatal errors.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/options.c b/options.c
index b65def9..9606ab2 100644
--- a/options.c
+++ b/options.c
@@ -1505,6 +1505,13 @@
.help = "Setup dedicated gettimeofday() thread on this CPU",
},
{
+ .name = "continue_on_error",
+ .type = FIO_OPT_BOOL,
+ .off1 = td_var_offset(continue_on_error),
+ .help = "Continue on non-fatal errors during I/O",
+ .def = "0",
+ },
+ {
.name = NULL,
},
};