From: Ilya Dryomov Date: Fri, 21 Mar 2014 17:05:29 +0000 (+0200) Subject: libceph: primary_temp infrastructure X-Git-Tag: v3.15-rc1~61^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9686f94c8cfc06e8afb7b2233ab8f1f6ac01957f;p=pandora-kernel.git libceph: primary_temp infrastructure Add primary_temp mappings infrastructure. struct ceph_pg_mapping is overloaded, primary_temp mappings are stored in an rb-tree, rooted at ceph_osdmap, in a manner similar to pg_temp mappings. Dump primary_temp mappings to /sys/kernel/debug/ceph//osdmap, one 'primary_temp ' per line, e.g: primary_temp 2.6 4 Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder --- Reading git-diff-tree failed