add dynamic fsync control