libceph: calculate placement based on the internal data types