OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3306-g23fa416

Gerrit Code Review gerrit@openafs.org
Thu, 31 Jan 2013 11:32:47 -0800 (PST)


The following commit has been merged in the master branch:
commit 23fa416581568c2c58c6f2739139b9486ba8fa10
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.
    
    Change-Id: I78d71c77ffddd7f34278314fcfe9ee568b835a8b
    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>

 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