OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_19-42-g78def63

Gerrit Code Review gerrit@openafs.org
Mon, 3 Dec 2012 20:14:53 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 78def630c4bf6f9aa98fde1a5de50a1264e801ff
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Tue Nov 27 00:35:20 2012 -0500

    Windows: PrimaryVolumeWorkerThread Garbage Collect Fcb
    
    Revert commit cecd99abd3837ef820d78fb15e450c8688b0f39b.  Failing
    to garbage collect the FCB from the ObjectInformationCB at the
    earliest opportunity opens the door to a deadlock with Trend Micro's
    anti-virus driver.  Trend Micro attempts to make a copy of the
    file data each time a CcPurgeCacheSection() is performed on the
    FCB.  If during AFSValidateEntry or AFSVerifyEntry a DirectoryCB->
    ObjectInformationCB->FCB is discovered which has a non-NULL
    SectionObjectPointers.DataSectionObject and the data version in
    the DirEnumEntryCB differs from the ObjectInformationCB, a
    CcPurgeCacheSection() call is performed while holding the
    FCB->NPFcb->Resource exclusively.  Trend Micro will deadlock the
    thread making the CcPurgeCacheSection() call when it attempts
    to open the file in one of its worker threads.
    
    Reviewed-on: http://gerrit.openafs.org/8529
    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 a428033bfe78c00dad84af9c14645723344297cf)
    
    Change-Id: I41364742c723ed40513f2fe42952b9758545adae
    Reviewed-on: http://gerrit.openafs.org/8586
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

-- 
OpenAFS Master Repository