CM12.1 on Galaxy S5 in endless boot after encryption enabled, then pattern changed
Formatting data did help.
I'll stay away from Disk Encryption for now as it seems to me the Cyanogen ecosystem is not really there yet.