OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-13-gb0679bb
Gerrit Code Review
gerrit@openafs.org
Sun, 25 Dec 2011 06:53:09 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit b0679bba56868ddbac3ed7eaa5b43064ceec3d55
Author: Peter Scott <pscott@kerneldrivers.com>
Date: Fri Dec 23 17:00:57 2011 -0700
Windows: Avoid bottleneck on VolumeLock
The VolumeLock resource was obtained during each AFSParseName()
and held across a wide range of operations including volume
info queries, renames, and extent requests. These operations can
take a long time to complete and as long as the VolumeLock was
held exclusively there could only be one operation in flight at
a time on a given volume. This significantly reduced the parallelism
of operations.
The VolumeLock was not required in almost all cases. This patchset
adjusts the use of the VolumeLock and avoids the bottleneck.
Reviewed-on: http://gerrit.openafs.org/6420
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit 3ca42749357edc97922918d04558deb268fe78f0)
Change-Id: I1f1ef64e82ca01169e61ba8ceb6cab113129d2fa
Reviewed-on: http://gerrit.openafs.org/6429
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp | 4 +-
src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp | 1 -
src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp | 20 ++-----
src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp | 24 -------
src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp | 79 ++++--------------------
src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp | 4 +-
6 files changed, 20 insertions(+), 112 deletions(-)
--
OpenAFS Master Repository