OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4688-g8e97a6c

Gerrit Code Review gerrit@openafs.org
Wed, 2 Sep 2015 01:26:18 -0400


The following commit has been merged in the master branch:
commit 8e97a6c93604014b126fb2e9e33642b11f4c2fc0
Author: Benjamin Kaduk <kaduk@mit.edu>
Date:   Thu Jan 15 11:54:30 2015 -0500

    afs: Increase vcache and dcache hash table sizes
    
    Now that we are using a real hash function, larger hash tables
    will be more useful.
    
    The vcache hash tables are statically sized, and this increase will
    add about a megabyte to the kernel module's memory footprint.
    
    Update the algorithm used to dynamically size the dcache hash tables,
    keeping the old behavior for small numbers of dcaches, but growing
    the hash table's size to keep the average chain length near two
    for a range of dcache numbers.  Cap the dcache hash tables at 32k
    entries to avoid excessive resource usage.
    
    This involves code from opr, namely opr/ffs.h, which is acceptable
    in the kernel module because that header is a standalone header
    like jhash.h, with no dependencies on the system.
    
    Change-Id: I7cdb3e993b1c2ad177a46ecc06bfa2be52e619e5
    Reviewed-on: http://gerrit.openafs.org/11679
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Tested-by: Benjamin Kaduk <kaduk@mit.edu>

 src/afs/afs.h        |    2 +-
 src/afs/afs_dcache.c |   13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository