projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gfio: add error option group
[fio.git]
/
verify.c
diff --git
a/verify.c
b/verify.c
index f25eab921fc379691466b9e8c3866efd3a2133eb..01b56fde0b3c48529d70750be5c32616a393b82c 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-1004,6
+1004,14
@@
int get_next_verify(struct thread_data *td, struct io_u *io_u)
return 1;
}
return 1;
}
+void fio_verify_init(struct thread_data *td)
+{
+ if (td->o.verify == VERIFY_CRC32C_INTEL ||
+ td->o.verify == VERIFY_CRC32C) {
+ crc32c_intel_probe();
+ }
+}
+
static void *verify_async_thread(void *data)
{
struct thread_data *td = data;
static void *verify_async_thread(void *data)
{
struct thread_data *td = data;
@@
-1049,8
+1057,7
@@
static void *verify_async_thread(void *data)
put_io_u(td, io_u);
if (!ret)
continue;
put_io_u(td, io_u);
if (!ret)
continue;
- if (td->o.continue_on_error & ERROR_TYPE_VERIFY &&
- td_non_fatal_error(ret)) {
+ if (td_non_fatal_error(td, ERROR_TYPE_VERIFY_BIT, ret)) {
update_error_count(td, ret);
td_clear_error(td);
ret = 0;
update_error_count(td, ret);
td_clear_error(td);
ret = 0;