add dynamic fsync() control