Expand continue_on_error to select which type of error to allow
[fio.git] / verify.c
index 5a9428177eef68b58f9fc9d4e6cfa6596d756688..91a9077ac272d2ffcc04f5b4e7e00a2eb879944e 100644 (file)
--- a/verify.c
+++ b/verify.c
@@ -1033,7 +1033,7 @@ static void *verify_async_thread(void *data)
                        put_io_u(td, io_u);
                        if (!ret)
                                continue;
-                       if (td->o.continue_on_error &&
+                       if (td->o.continue_on_error & ERROR_TYPE_VERIFY &&
                            td_non_fatal_error(ret)) {
                                update_error_count(td, ret);
                                td_clear_error(td);