use O_SYNC instead of fsync(), works much better
Merge branch 'master' of https://github.com/igorcanadi/fs-gray-box