OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2132-gde4d12d

Gerrit Code Review gerrit@openafs.org
Thu, 26 Jan 2012 16:12:29 -0800 (PST)


The following commit has been merged in the master branch:
commit de4d12dd5366bfddb6fde5bb050ce8fbaeb95f1a
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Fri Jan 20 14:43:06 2012 -0500

    Windows: Stop the thundering herd
    
    The afs redirector used notification events to wake up worker
    threads when a task was added to a work queue.  Notification
    events when signalled wake up all threads instead of just one.
    
    Instead, use synchronization events to wake up a single thread at
    a time and restructure the code to permit workers to wake up
    additional workers if there is additional work to be performed
    or during library shutdown.
    
    Thanks to Peter Scott for his assistance.
    
    Change-Id: I0fb9d8578035f606f03170622fc9c50a1dbfee3a
    Reviewed-on: http://gerrit.openafs.org/6595
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsrdr/kernel/fs/AFSCommSupport.cpp |   37 ++++---
 src/WINNT/afsrdr/kernel/fs/AFSGeneric.cpp     |    4 +-
 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp     |  156 ++++++++++++++++++-------
 3 files changed, 137 insertions(+), 60 deletions(-)

-- 
OpenAFS Master Repository