sg engine: IO should be done sync of O_SYNC and O_DIRECT