Switch to jhash for VNODE_HASH
authorBenjamin Kaduk <kaduk@mit.edu>
Mon, 12 Jan 2015 21:13:28 +0000 (16:13 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 22 Aug 2015 16:44:18 +0000 (12:44 -0400)
commitebf04c3a3eeb6dd49756a93f31e0f90fd706a44f
treeff4a01d6ef8942c2d82b66d06f7419431e34fffb
parent22faedd3ccac9b74f759709a6116befb3c4bc17a
Switch to jhash for VNODE_HASH

Remove the vnodeHashOffset field, as the Jenkins hash will get
a uniform-enough distribution without this extra help.  Per-volume
unique hashing is retained by using the volume ID as the initial
value input to the Jenkins hash.

While here, increase the vnode hash table size from 256 to 2048.

Change-Id: I353dfc8178f13f4e9adcd03a331adf2a7c64a1a9
Reviewed-on: http://gerrit.openafs.org/11666
Reviewed-by: Daria Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/vol/fssync-debug.c
src/vol/vnode.c
src/vol/volume.c
src/vol/volume.h