From: Ilya Dryomov Date: Mon, 24 Mar 2014 15:12:47 +0000 (+0200) Subject: libceph: introduce pg_to_raw_osds() and raw_to_up_osds() helpers X-Git-Tag: v3.15-rc1~61^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bd93d4d7ec2dd461cfb87c6d8a9b1ef9b30de08;p=pandora-kernel.git libceph: introduce pg_to_raw_osds() and raw_to_up_osds() helpers pg_to_raw_osds() helper for computing a raw (crush) set, which can contain non-existant and down osds. raw_to_up_osds() helper for pruning non-existant and down osds from the raw set, therefore transforming it into an up set, and determining up primary. Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder --- Reading git-diff-tree failed