OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_14-12-ge0f1f16

Gerrit Code Review gerrit@openafs.org
Wed, 6 Jun 2012 10:26:26 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 806319cc15e43fe30c7fed83f7eb2755f665858e
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sat May 26 18:11:06 2012 -0400

    Windows: Adjust extent release strategy
    
    All extents were flushed whenever AFSReleaseExtentsWithFlush was
    executed.  This included a call at the completion of each
    NonCached Read operation which could result in heavy thrashing
    as the data would be released prior to it being needed by the
    application.
    
    This patchset makes the following adjustments.  First,
    AFSReleaseExtentsWithFlush() has been modified to release all
    but 1024 extents belonging to the file.  Second, NonCached Reads
    only execute AFSReleaseExtentsWithFlush() when there are more
    than 4096 extents associated with the file.  Third,
    AFSReleaseExtentsWithFlush() now has a 'bReleaseAll' parameter
    which is used for calls from AFSCleanup() and AFSFlushExtents()
    which need to be able to flush all extents attached to a FCB.
    
    Reviewed-on: http://gerrit.openafs.org/7520
    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 cee6a383d3d1732e78827c839ee9513847e03aa6)
    
    Change-Id: I683d8188523ce991ad7c461178984c098ddb5faa
    Reviewed-on: http://gerrit.openafs.org/7529
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsrdr/kernel/lib/AFSCleanup.cpp        |    3 +++
 src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp |   12 +++++-------
 src/WINNT/afsrdr/kernel/lib/AFSFlushBuffers.cpp   |    3 ++-
 src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp        |    6 ++++--
 src/WINNT/afsrdr/kernel/lib/AFSRead.cpp           |   10 ++++++++--
 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp         |    3 ++-
 src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h   |    3 ++-
 7 files changed, 26 insertions(+), 14 deletions(-)

-- 
OpenAFS Master Repository