OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_8-37-g3d1fee1

Gerrit Code Review gerrit@openafs.org
Fri, 6 Apr 2012 14:31:14 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 89f707fc32447414ba5373dc7f746b59b6a68266
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Thu Apr 5 23:14:18 2012 -0400

    Windows: Check Avail Space on extending SetEndOfFile
    
    When cm_SetLength() is called with an extending file length,
    check the available free space in the volume to see if the
    new length will fit.  If not, return CM_ERROR_SPACE.
    
    This permits applications to discover that there is insufficient
    space prior to writing all of the data into the windows page
    cache at which point it will be too late.
    
    There is still the possibility of a race that can result in
    data loss if two applications are writing into the same volume
    at the same time and there is insufficient room.
    
    Reviewed-on: http://gerrit.openafs.org/7057
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    (cherry picked from commit 3d024372293a279cf3a6cbdfe75a384ec7c8b200)
    
    Change-Id: I88a41bb57cafa495147d4b891c76d174e1d748de
    Reviewed-on: http://gerrit.openafs.org/7059
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/WINNT/afsd/cm_vnodeops.c |   78 ++++++++++++++++++++++++++++++++++++++++-
 src/WINNT/afsd/cm_vnodeops.h |    2 +
 2 files changed, 78 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository