diff options
author | Sage Weil <sage@newdream.net> | 2009-11-06 16:44:05 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-11-06 16:44:05 -0800 |
commit | cfbbcd24a6bfd794295ee7ad76dfbff40ad6b934 (patch) | |
tree | 26a9640291ae3af1a9f1dd56cd8b3a2e3016b3ff /sound/ac97_bus.c | |
parent | c6cf726316abd613cfb7c325d950f3629f964ec6 (diff) | |
download | op-kernel-dev-cfbbcd24a6bfd794295ee7ad76dfbff40ad6b934.zip op-kernel-dev-cfbbcd24a6bfd794295ee7ad76dfbff40ad6b934.tar.gz |
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 <sage@newdream.net>
Diffstat (limited to 'sound/ac97_bus.c')
0 files changed, 0 insertions, 0 deletions