Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
.type = FIO_OPT_STR_STORE,
.off1 = td_var_offset(ioengine),
.help = "IO engine to use",
.type = FIO_OPT_STR_STORE,
.off1 = td_var_offset(ioengine),
.help = "IO engine to use",
+ .def = FIO_PREFERRED_ENGINE,
.posval = {
{ .ival = "sync",
.help = "Use read/write",
.posval = {
{ .ival = "sync",
.help = "Use read/write",
\r
#define OS_CLOCK CLOCK_REALTIME\r
\r
\r
#define OS_CLOCK CLOCK_REALTIME\r
\r
+#define FIO_PREFERRED_ENGINE "windowsaio"\r
+\r
typedef off_t off64_t;\r
\r
typedef struct {\r
typedef off_t off64_t;\r
\r
typedef struct {\r
#define fio_lookup_raw(dev, majdev, mindev) 1
#endif
#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)
{
#ifndef FIO_HAVE_BLKTRACE
static inline int is_blktrace(const char *fname)
{