OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2132-gde4d12d
Gerrit Code Review
Thu, 26 Jan 2012 16:12:29 -0800 (PST)
The following commit has been merged in the master branch:
Author: Jeffrey Altman <email@example.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.
Tested-by: BuildBot <firstname.lastname@example.org>
Reviewed-by: Jeffrey Altman <email@example.com>
Tested-by: Jeffrey Altman <firstname.lastname@example.org>
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