ceph/ceph — pull request #619 by dachary (2013-09-23 07:24:13+00:00)
Title: ErasureCode: optimize padding calculation 

Andreas-Joachim Peters pointed out that the ErasureCodeJerasure method pad_in_length is very inefficient for no reason. It is replaced by the alignment method and the calculation is inlined in the encode method.