added fsync control
disabled by default