Good answer from Cal in that thread about talking to your boss:
One of the most effective strategies seems to be having a discussion with your boss about your deep-to-shallow work hour ratio. The idea is that you explain what deep work is and you explain what shallow work is. You note both are important. You discuss what ratio of deep to shallow hours in a typical week is optimal for your position. Once you have a number set, you can measure and report back. If you’re falling short, then you can work with your boss to make some accommodations to help you hit the target.
The key to this approach is that it’s positive in that it focuses on how to make you more valuable to the company (not you complaining about distractions), and it’s something you’re doing along with your boss…