OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2022-g3ca4274

Gerrit Code Review gerrit@openafs.org
Sat, 24 Dec 2011 21:47:34 -0800 (PST)


The following commit has been merged in the master branch:
commit 3ca42749357edc97922918d04558deb268fe78f0
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.
    
    Change-Id: I9d60fe41d157b9e315aeaa15feee8d1e0d4ded4c
    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>

 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