summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/os-windows.h2
-rw-r--r--os/os.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/os/os-windows.h b/os/os-windows.h
index 9edacf33..e790a513 100644
--- a/os/os-windows.h
+++ b/os/os-windows.h
@@ -22,6 +22,8 @@
#define OS_CLOCK CLOCK_REALTIME
+#define FIO_PREFERRED_ENGINE "windowsaio"
+
typedef off_t off64_t;
typedef struct {
diff --git a/os/os.h b/os/os.h
index 92b6950d..1569e409 100644
--- a/os/os.h
+++ b/os/os.h
@@ -102,6 +102,10 @@ typedef unsigned long os_cpu_mask_t;
#define fio_lookup_raw(dev, majdev, mindev) 1
#endif
+#ifndef FIO_PREFERRED_ENGINE
+#define FIO_PREFERRED_ENGINE "sync"
+#endif
+
#ifndef FIO_HAVE_BLKTRACE
static inline int is_blktrace(const char *fname)
{