Added fsync control