I have an EC RBD pool I want to add compression on.

I have the meta pool and the data pool, do I need to enable compression on both for it to function correctly or only on one pool?

Thanks