IIRC, the British knew Barbarosa was coming and fed false intel to the Germans about invading Greece for the sole purpose of delaying the Russian invasion. The two month delay worked better than expected.
My little theory is that Stalin knew too, and knew the areas Hitler would target. Areas that had a lot of a certain kind of people that both Hitler and Stalin despised.