OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1426-gd3a4b6c

Gerrit Code Review gerrit@openafs.org
Fri, 22 Jul 2011 08:56:13 -0700 (PDT)


The following commit has been merged in the master branch:
commit d3a4b6ce700509383849653fa061a87298e5258f
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Jul 20 14:21:09 2011 -0400

    Windows: improve shutdown time
    
    During Windows OS shutdown the service may be given as little
    as six seconds to shut itself down before it will be terminated.
    Forced termination will leave the cache file in a dirty state.
    This patchset makes several minor changes to reduce the overall
    time required for shutdown:
    
    1. do not wait for the IP address change notification thread.
       by the time it terminates the ip address has been lost.
    
    2. send give up all callbacks earlier.
    
    3. reorder the daemon thread waits.
    
    4. change the daemon thread loop sleep time to 500ms in order
       to prevent the service from waiting up to 10 seconds for
       the thread to notice a shutdown is in progress.
    
    Change-Id: Ib1ff3eaf2e5116d9b3d7561670b8266e1bc5d1cf
    Reviewed-on: http://gerrit.openafs.org/5055
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>

 src/WINNT/afsd/cm_daemon.c |   29 ++++++++++++++++++++++-------
 src/WINNT/afsd/cm_scache.c |    4 ++--
 2 files changed, 24 insertions(+), 9 deletions(-)

-- 
OpenAFS Master Repository