]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush: redefine hash using __u32, for consistency across 32/64 bit
authorSage Weil <sage@newdream.net>
Thu, 18 Jun 2009 21:23:29 +0000 (14:23 -0700)
committerSage Weil <sage@newdream.net>
Thu, 18 Jun 2009 21:23:29 +0000 (14:23 -0700)
commiteaf39b2a9c010ec662bf9517cba8e6a87a75f8e3
tree156d20a19f997122bb910f34f6fd6a442dbe4b77
parentc9b39bbade95fb5bd8641861f974537b42ac165b
crush: redefine hash using __u32, for consistency across 32/64 bit

I'm pretty sure this was giving inconsistent results across archs,
because bits would get shifted into the high 32 and then back again
on x86_64 but not x86_32.
src/crush/hash.h