From: Sage Weil Date: Tue, 26 Feb 2013 00:13:08 +0000 (-0800) Subject: libceph: calculate placement based on the internal data types X-Git-Tag: v3.9-rc1~41^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2169aea649c08374bec7d220a3b8f64712275356;p=pandora-kernel.git 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 Reviewed-by: Alex Elder --- Reading git-diff-tree failed