OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3029-geaad522
Gerrit Code Review
gerrit@openafs.org
Fri, 19 Oct 2012 07:02:38 -0700 (PDT)
The following commit has been merged in the master branch:
commit eaad522651a81f20eac4966a55a731e0e59e39dd
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Fri Oct 5 11:36:45 2012 -0400
Windows: Protect ObjectRefCnts with ObjectInfoLock
The ObjectInfoCB.ObjectReferenceCount is tested to determined
when it is safe to remove an FCB from the ObjectInfoCB. The
value must not be permitted to change while a removal is performed.
Protect AFSRemoveFcb() calls with exclusive holds of the
ObjectInfoCB.NonPagedInfo->ObjectInfoLock. New functions:
AFSObjectInfoIncrement()
AFSObjectInfoDecrement()
perform all increments and decrements while holding the
ObjectInfoLock in a Shared state.
Change-Id: If89b7668ef0a891d55b039d9516620b581c79e10
Reviewed-on: http://gerrit.openafs.org/8224
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsrdr/kernel/lib/AFSCleanup.cpp | 2 +-
src/WINNT/afsrdr/kernel/lib/AFSClose.cpp | 5 ++
src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp | 6 +-
src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp | 30 ++++++++
src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp | 14 ++--
src/WINNT/afsrdr/kernel/lib/AFSFcbSupport.cpp | 17 ++++-
src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp | 77 ++++++++++++++++-----
src/WINNT/afsrdr/kernel/lib/AFSNameSupport.cpp | 9 ++-
src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp | 58 ++++++++++++++++
src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h | 6 ++
src/WINNT/afsrdr/kernel/lib/Include/AFSStructs.h | 2 +
11 files changed, 193 insertions(+), 33 deletions(-)
--
OpenAFS Master Repository