OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4684-ge99bfcf
Gerrit Code Review
gerrit@openafs.org
Thu, 27 Aug 2015 23:05:32 -0400
The following commit has been merged in the master branch:
commit e99bfcfaa3bca3e65f03928718c2c9eb5eff7c8c
Author: Benjamin Kaduk <kaduk@mit.edu>
Date: Tue Jan 13 20:22:59 2015 -0500
afs: use jenkins hash for dcache, vcache tables
Switch the four dcache and vcache hash tables to use the jenkins
hash from opr.
This requires making DCHash into a full-weight function in order
to properly hash all three inputs; convert all four symbols to
full functions for consistency. Just pull in <opr/jhash.h> via
afs.h so all consumers (e.g., of VCSIZE) can use it without
modification.
This is the first use of src/opr/ in src/afs/ (outside UKERNEL),
but it is permissible because opr/jhash.h is a standalone
header and there are no C files needed for its implementation which
would require anything from the system.
Change-Id: Ic7f31e7dc548ff2cf13ac087a9e4bbb2b874e03a
Reviewed-on: http://gerrit.openafs.org/11673
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/afs.h | 21 +++++----------------
src/afs/afs_dcache.c | 23 +++++++++++++++++++++++
src/afs/afs_prototypes.h | 4 ++++
src/afs/afs_vcache.c | 19 +++++++++++++++++++
4 files changed, 51 insertions(+), 16 deletions(-)
--
OpenAFS Master Repository