The following commit has been merged in the master branch:
commit d9410aba89c5a257635fa33dbd78db2c0cb32ac8
Author: Simon Wilkinson <[email protected]>
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: [email protected]
    Reviewed-on: http://gerrit.openafs.org/1524
    Tested-by: Simon Wilkinson <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>

 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
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to