OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-102-g9562721

Gerrit Code Review gerrit@openafs.org
Wed, 12 May 2010 12:45:00 -0700 (PDT)


The following commit has been merged in the master branch:
commit 9562721b89a2a7a7f32a165762d7fba8540006a9
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed May 12 13:59:06 2010 -0500

    Solaris: stop NetIfPoller on shutdown
    
    The NetIfPoller code that is enabled on AFS_SUN510_ENV never gets
    shutdown properly. The current code looks as if it was intended for
    NetIfPoller to recognize the appropriate termState and just return,
    but we never wait for it, and so we can complete the shutdown sequence
    without NetIfPoller ever knowing that we are shutting down. This can
    cause the machine to panic, as we keep attempting to run NetIfPoller
    even after libafs has been unloaded.
    
    Since NetIfPoller is fired by default every 30 seconds, we probably do
    not want to wait for it to fire during shutdown. Instead, just destroy
    the necessary timeout and task queue, which will wait for NetIfPoller
    to complete if running, and will just prevent it from running in the
    future otherwise.
    
    Change-Id: I25f9536d2713baf524a2450400c428ac506525f1
    Reviewed-on: http://gerrit.openafs.org/1957
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/afs_call.c       |    9 +++++++--
 src/rx/SOLARIS/rx_knet.c |   39 +++++++++++++++++++++++++++++----------
 src/rx/rx_prototypes.h   |    1 +
 3 files changed, 37 insertions(+), 12 deletions(-)

-- 
OpenAFS Master Repository