commit | 2169aea649c08374bec7d220a3b8f64712275356 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Mon Feb 25 16:13:08 2013 -0800 |
committer | Sage Weil <sage@inktank.com> | Tue Feb 26 15:02:37 2013 -0800 |
tree | 8a287c8239a5e1fc47afae4fbec530a467825706 | |
parent | 4f6a7e5ee1393ec4b243b39dac9f36992d161540 [diff] |
libceph: calculate placement based on the internal data types Instead of using the old ceph_object_layout struct, update our internal ceph_calc_object_layout method to use the ceph_pg type. This allows us to pass the full 32-bit precision of the pgid.seed to the callers. It also allows some callers to avoid reaching into the request structures for the struct ceph_object_layout fields. Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com>