I don't see how to implement what you suggest  before ErasureCodePG is made available. If it was, I could add if (!pg->can_omap()) in cases such as https://github.com/ceph/ceph/blob/v0.75/src/osd/ReplicatedPG.cc#L3686 . Should I wait ?