Erasure code is defined by a profile and is used when creating an erasure coded pool and the associated crush ruleset.