OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-53-g51f2c42

Gerrit Code Review
Tue, 26 Oct 2010 17:18:35 -0700 (PDT)

The following commit has been merged in the openafs-stable-1_4_x branch:
commit 51f2c42cc7d967c64057fd36b00c669834362511
Author: Simon Wilkinson <>
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
    Tested-by: Simon Wilkinson <>
    Reviewed-by: Derrick Brashear <>
    (cherry picked from commit d9410aba89c5a257635fa33dbd78db2c0cb32ac8)
    Tested-by: BuildBot <>

 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