Merge branch 'master' into gfio
[fio.git] / verify.c
index cb13b629be29886b5dbfa4318102c7b05e7c1ca6..fa24702b49dfd3ef2379683022b9b9cd64e332b0 100644 (file)
--- a/verify.c
+++ b/verify.c
@@ -1007,6 +1007,14 @@ int get_next_verify(struct thread_data *td, struct io_u *io_u)
        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;