From: Jens Axboe Date: Mon, 9 May 2016 19:35:09 +0000 (-0600) Subject: Change default IO engine from sync to psync X-Git-Tag: fio-2.10~34 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=df96a39edc86394bca0643e9aa2a8f4dfc76c7c9 Change default IO engine from sync to psync If the OS doesn't give us a default IO engine, then fio defaults to sync. We should use psync instead, since we have that everywhere. For fast storage, it avoids and lseek(), which can be a big deal. Signed-off-by: Jens Axboe --- diff --git a/os/os.h b/os/os.h index 02ab40d3..98773838 100644 --- a/os/os.h +++ b/os/os.h @@ -151,7 +151,7 @@ extern int fio_cpus_split(os_cpu_mask_t *mask, unsigned int cpu); #endif #ifndef FIO_PREFERRED_ENGINE -#define FIO_PREFERRED_ENGINE "sync" +#define FIO_PREFERRED_ENGINE "psync" #endif #ifndef FIO_OS_PATH_SEPARATOR