OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_21-32-gf944811

Gerrit Code Review gerrit@openafs.org
Fri, 1 Feb 2013 10:54:36 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 01bc23f3ad679b21100d9543561d82df7ef2f758
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Thu Jan 3 14:11:31 2013 -0500

    Windows: Update Bulk I/O Descriptor
    
    Update the cm_bulkIO_t and associated functions such that
    the 'reserved' field is no longer a boolean indicated whether
    or not buffers have been reserved but instead becomes a count
    of the number of buffers that have been reserved.
    
    buf_TryReserveBuffers is modified to return an afs_uint64
    count of the number of buffers reserved instead of a boolean.
    
    cm_SetupStoreBIOD, cm_SetupFetchBIOD, and cm_ReleaseBIOD altered
    to store the reserved buffer count and use it when freeing the
    BIOD.
    
    Prior to this change it was not possible to reserve a count other
    than the number of buffers it takes to store one chunkSize of data.
    
    Reviewed-on: http://gerrit.openafs.org/8951
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit 23fa416581568c2c58c6f2739139b9486ba8fa10)
    
    Change-Id: I38aba9f0af1ff550ee3993f99cf598be1faa7741
    Reviewed-on: http://gerrit.openafs.org/9015
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsd/cm_buf.c    |   11 ++++++-----
 src/WINNT/afsd/cm_buf.h    |    2 +-
 src/WINNT/afsd/cm_dcache.c |    7 +++----
 src/WINNT/afsd/cm_dcache.h |   13 ++++++++-----
 4 files changed, 18 insertions(+), 15 deletions(-)

-- 
OpenAFS Master Repository