OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2176-g780e497
Gerrit Code Review
gerrit@openafs.org
Fri, 17 Feb 2012 09:44:56 -0800 (PST)
The following commit has been merged in the master branch:
commit 780e497b32a927e008474a63b0427eca5d5a8877
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Thu Feb 16 23:50:18 2012 -0500
Windows: VolumeCB->ObjectInfoTree.TreeLock Deadlock
AFSPrimaryVolumeWorkerThread held the VolumeCB->ObjectInfoTree.TreeLock
exclusively across calls to AFSCleanupFcb() which in turn triggers
a file extent release to the service which can in turn result in
an object invalidation. Processing the invalidation requires shared
access to VolumeCB->ObjectInfoTree.TreeLock which results in a deadlock.
This patch alters the processing of AFSPrimaryVolumeWorkerThread
so that the VolumeCB->ObjectInfoTree.TreeLock is not held across
the AFSCleanupFcb() calls.
FIXES 130431
Change-Id: I3726df02ab47d2dcc83a32c75957a5dafcfbf20e
Reviewed-on: http://gerrit.openafs.org/6724
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Peter Scott <pscott@kerneldrivers.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp | 122 +++++++++++------------------
1 files changed, 45 insertions(+), 77 deletions(-)
--
OpenAFS Master Repository