OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-81-g1ae5374
Gerrit Code Review
gerrit@openafs.org
Thu, 26 Jan 2012 22:33:31 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 1ae5374187721acf07ebf3ae7f7f822fa5960219
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.
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>
(cherry picked from commit de4d12dd5366bfddb6fde5bb050ce8fbaeb95f1a)
Change-Id: I20bc28909d4e62b2d5d75838636f1ed8be7567c1
Reviewed-on: http://gerrit.openafs.org/6622
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