Refactored block dedup to sync_storage