From: Sage Weil Date: Tue, 26 Feb 2013 18:39:09 +0000 (-0800) Subject: libceph: add support for HASHPSPOOL pool flag X-Git-Tag: v3.9-rc1~41^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83ca14fdd35821554058e5fd4fa7b118ee504a33;p=pandora-kernel.git libceph: add support for HASHPSPOOL pool flag The legacy behavior adds the pgid seed and pool together as the input for CRUSH. That is problematic because each pool's PGs end up mapping to the same OSDs: 1.5 == 2.4 == 3.3 == ... Instead, if the HASHPSPOOL flag is set, we has the ps and pool together and feed that into CRUSH. This ensures that two adjacent pools will map to an independent pseudorandom set of OSDs. Advertise our support for this via a protocol feature flag. Signed-off-by: Sage Weil Reviewed-by: Alex Elder --- Reading git-diff-tree failed