OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_72-101-gd9410ab

Gerrit Code Review gerrit@openafs.org
Sat, 6 Mar 2010 06:43:43 -0800 (PST)


The following commit has been merged in the master branch:
commit d9410aba89c5a257635fa33dbd78db2c0cb32ac8
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date:   Sat Mar 6 00:13:06 2010 +0000

    Linux: Make keyring destructor remove all tokens
    
    The keyring destructor on Linux was only destroying the first
    unixuser structure found for the PAG being destroyed. In environments
    where each PAG contains tokens for multiple cells, this led to us
    leaking unixuser structures, and eventually grinding to a hault due
    to the length of the resulting hash chains (and some horrific
    O(n-squared) performance in the PAG statistics code).
    
    Add a utility function for the keyring destruction function to call
    which will mark as deleted all unixuser structures for a particular
    PAG, and use it.
    
    Change-Id: I355465c43cc2cf9d70f613d6f97cd65552260157
    Cc: Eric.Hagberg@morganstanley.com
    Reviewed-on: http://gerrit.openafs.org/1524
    Tested-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/LINUX/osi_groups.c |   10 +++-------
 src/afs/afs_prototypes.h   |    2 +-
 src/afs/afs_user.c         |   24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 8 deletions(-)

-- 
OpenAFS Master Repository