projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into gfio
[fio.git]
/
verify.c
diff --git
a/verify.c
b/verify.c
index cb13b629be29886b5dbfa4318102c7b05e7c1ca6..787cc377d2fbf33699721d5310b6b50f939a70c5 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-10,7
+10,6
@@
#include "fio.h"
#include "verify.h"
#include "fio.h"
#include "verify.h"
-#include "smalloc.h"
#include "trim.h"
#include "lib/rand.h"
#include "lib/hweight.h"
#include "trim.h"
#include "lib/rand.h"
#include "lib/hweight.h"
@@
-1007,6
+1006,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;