OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-76-g5a4cd17

Gerrit Code Review gerrit@openafs.org
Mon, 23 Jan 2012 01:41:37 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 5a4cd17262fb13e24ac762035d3b06663b4a682e
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sun Jan 22 18:42:32 2012 -0500

    Windows: store data verification mode
    
    Over the lifetime of OpenAFS a number of bugs have been discovered
    that can result in data corruption.  This new mode (Windows only)
    will double check that the data received by the file server does
    in fact match the data that was written by the cache manager.
    
    After a successful StoreData and status merge but before the BIOD
    is released, a fetchdata is issued to read the data written by the
    cache manager.  If the data fails to match, the StoreData operation
    is repeated.
    
    Data verification mode can be queried with "fs getverify" and set
    with "fs setverify {on, off}".  The default value can be set with
    the TransarcAFSDaemon\Parameters DWORD "VerifyData" registry value.
    
    By default verification is disabled.
    
    Reviewed-on: http://gerrit.openafs.org/6601
    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 dfd0c2acc103cd2881bbfecd923c05012001e12a)
    
    Change-Id: Id3f412c66b3d233d0f7129172ef760dedc720631
    Reviewed-on: http://gerrit.openafs.org/6607
    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/afsd.h            |    2 +
 src/WINNT/afsd/afsd_init.c       |    8 +-
 src/WINNT/afsd/cm_dcache.c       |  294 +++++++++++++++++++++++++++++++++++++-
 src/WINNT/afsd/cm_dcache.h       |    2 +
 src/WINNT/afsd/cm_ioctl.c        |   28 ++++
 src/WINNT/afsd/cm_ioctl.h        |    4 +
 src/WINNT/afsd/fs.c              |   76 ++++++++++
 src/WINNT/afsd/smb_iocons.h      |    2 +
 src/WINNT/afsd/smb_ioctl.c       |   18 +++
 src/WINNT/afsd/smb_ioctl.h       |    4 +
 src/WINNT/afsrdr/user/RDRIoctl.c |   18 +++
 src/WINNT/afsrdr/user/RDRIoctl.h |    4 +
 12 files changed, 458 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository