From: Ilya Dryomov Date: Mon, 27 Jan 2014 15:40:18 +0000 (+0200) Subject: libceph: start using oloc abstraction X-Git-Tag: v3.14-rc1~71^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22116525baec1d63f4878eaa92f0b57946a78819;p=pandora-kernel.git libceph: start using oloc abstraction Instead of relying on pool fields in ceph_file_layout (for mapping) and ceph_pg (for enconding), start using ceph_object_locator (oloc) abstraction. Note that userspace oloc currently consists of pool, key, nspace and hash fields, while this one contains only a pool. This is OK, because at this point we only send (i.e. encode) olocs and never have to receive (i.e. decode) them. This makes keeping a copy of ceph_file_layout in every osd request unnecessary, so ceph_osd_request::r_file_layout field is nuked. Signed-off-by: Ilya Dryomov Reviewed-by: Sage Weil --- Reading git-diff-tree failed