From: Sage Weil Date: Sat, 7 Nov 2009 00:44:05 +0000 (-0800) Subject: ceph: use strong hash function for mapping objects to pgs X-Git-Tag: v2.6.34-rc2~9^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfbbcd24a6bfd794295ee7ad76dfbff40ad6b934;p=pandora-kernel.git ceph: use strong hash function for mapping objects to pgs We were using the (weak) dcache hash function, but it was leaving lower bits consecutive for consecutive (inode) objects. We really want to make the object to pg mapping random and uniform, so use a proper hash function here. This is Robert Jenkin's public domain hash function (with some minor cleanup): http://burtleburtle.net/bob/hash/evahash.html This is a protocol revision. Signed-off-by: Sage Weil --- Reading git-diff-tree failed