summaryrefslogtreecommitdiff
path: root/os/os.h
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-19 11:09:58 -0700
committerJens Axboe <jaxboe@fusionio.com>2011-01-19 11:09:58 -0700
commit58483fa41bb08def4dbd3c4c9624116b643c7599 (patch)
tree9958b8a9e276e09fbcb200a76b80ecb8cfa445b4 /os/os.h
parent3be8007107a6e4bad3f1b7ea9ea80b51a2dddfc4 (diff)
downloadfio-58483fa41bb08def4dbd3c4c9624116b643c7599.tar.gz
fio-58483fa41bb08def4dbd3c4c9624116b643c7599.tar.bz2
Define OS preferred IO engine
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/os.h')
-rw-r--r--os/os.h4
1 files changed, 4 insertions, 0 deletions
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)
{