OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. BP--openafs-stable-1_6_x-42-g81e9b15

Gerrit Code Review gerrit@openafs.org
Tue, 7 Sep 2010 20:47:42 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 81e9b15f568bbfdbbfa54c2f2aaf7f1f1e5beb62
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Thu Sep 2 21:17:24 2010 -0400

    Windows: Modify signature of buf_CleanAsync and buf_CleanAsyncLocked
    
    The buf_CleanAsync() and buf_CleanAsyncLocked() signature does
    not include a cm_scache_t pointer even though buf_CleanAsyncLocked()
    needs a pointer to the matching cm_scache_t object.  There are
    some calls when the cm_scache_t object is already known.  For those
    cases it is more efficient to avoid the additional lookup especially
    when buf_CleanAsync*() is being called on every buffer associated
    with the cm_scache_t object.
    
    At the same time add a flags field and a constant
    CM_BUF_WRITE_SCP_LOCKED to permit the lock state of the cm_scache_t
    to be passed in.
    
    Finally, fix up the usage in buf_FlushCleanPages() which gains
    the most from these changes.
    
    LICENSE MIT
    
    Change-Id: I3726441ff83a89e24d790174ca71396d633f1be6
    Reviewed-on: http://gerrit.openafs.org/2662
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
    (cherry picked from commit 1ef135110b7d850e2c40bbbb6b7de69c76872fa9)
    Reviewed-on: http://gerrit.openafs.org/2708

 src/WINNT/afsd/cm_buf.c    |   98 ++++++++++++++++++++++++--------------------
 src/WINNT/afsd/cm_buf.h    |   19 +++++---
 src/WINNT/afsd/cm_dcache.c |   17 +++++---
 3 files changed, 76 insertions(+), 58 deletions(-)

-- 
OpenAFS Master Repository