add fsync control