Only enable arm64 CRC32 acceleration if the required header files are there
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index b2f0e2f5853a54985ca5baf1e17a8d5198e2d040..b573ac587d3361e3b1f5919a391e3e3ceab7f649 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -490,7 +490,7 @@ static inline int should_fsync(struct thread_data *td)
 {
        if (td->last_was_sync)
                return 0;
-       if (td_write(td) || td_rw(td) || td->o.override_sync)
+       if (td_write(td) || td->o.override_sync)
                return 1;
 
        return 0;