ceph/ceph — pull request #2328 by dachary (2014-08-26 13:30:40+00:00)
Title: common: ROUND_UP_TO accepts any rounding factor (firefly)

The ROUND_UP_TO function was limited to rounding factors that are powers
of two. This saves a modulo but it is not used where it would make a
difference. The implementation is changed so it is generic.

http://tracker.ceph.com/issues/9209 Fixes: #9209

Signed-off-by: Loic Dachary
(cherry picked from commit 9449520b121fc6ce0c64948386d4ff77f46f4f5f)