OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_19-61-g0e6f996

Gerrit Code Review gerrit@openafs.org
Thu, 6 Dec 2012 06:04:52 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 0e6f996d65e62dd56afff72560572f7369d9d1a4
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Wed Dec 5 13:07:08 2012 -0500

    Windows: AFSSetRenameInfo Drop TreeLocks MmForceSectionClosed
    
    If the Target directory TreeLock is held across the
    MmForceSectionClosed() call in AFSSetRenameInfo() Trend Micro's
    TmPreFlt!TmpQueryFullName call can deadlock in its worker thread
    when AFSCommonCreate() attempts to AFSLocateNameEntry() which
    requires shared access to the TreeLock for the search.
    
    Reorganize the Target Entry Exists case to call MmForceSectionClosed()
    after the directory entry has been deleted.  That should throw
    a monkey wrench into Trend Micro's attempt to scan it.
    
    Reviewed-on: http://gerrit.openafs.org/8607
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit a774fa8a6acf44b19e566c2da1bb416ef5d2983c)
    
    Change-Id: I6128f30495dcfd3a1ed79056e0afeeac5aaa5c0c
    Reviewed-on: http://gerrit.openafs.org/8650
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/WINNT/afsrdr/kernel/lib/AFSFileInfo.cpp |   84 +++++++++++++++++---------
 1 files changed, 55 insertions(+), 29 deletions(-)

-- 
OpenAFS Master Repository