Change default IO engine from sync to psync
authorJens Axboe <axboe@fb.com>
Mon, 9 May 2016 19:35:09 +0000 (13:35 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 9 May 2016 19:35:09 +0000 (13:35 -0600)
commitdf96a39edc86394bca0643e9aa2a8f4dfc76c7c9
treebf3a76d791d56d360cdaefe5b825169d7414ca96
parentb0a84f48509d76032455842f1482901e3ab12afd
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 <axboe@fb.com>
os/os.h