OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2123-gdfd0c2a

Gerrit Code Review gerrit@openafs.org
Sun, 22 Jan 2012 21:25:36 -0800 (PST)


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

 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