OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2525-g94f96c6
Gerrit Code Review
gerrit@openafs.org
Wed, 16 May 2012 18:21:57 -0700 (PDT)
The following commit has been merged in the master branch:
commit 94f96c6aae142478bf0824e7c3a3a810494a123d
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Mon May 14 11:11:57 2012 -0400
Windows: AFSTearDownExtents may experience active extents
If there are extents with a non-zero ActiveCount when AFSTearDownExtents()
is executed, it must leave them alone and attached to the File Control
Block. This has implications for its callers, especially AFSCleanupFcb()
since it may be the case that a Cleanup cannot be completed.
The AFSPrimaryVolumeWorker thread must therefore check after calling
AFSCleanupFcb() whether or not the Fcb ExtentCount is zero before
calling AFSRemoveFcb().
Change-Id: I164dbe24d2bfe69aba0fcb5d845f66415d5bb0c3
Reviewed-on: http://gerrit.openafs.org/7406
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsrdr/kernel/lib/AFSClose.cpp | 21 +--
src/WINNT/afsrdr/kernel/lib/AFSExtentsSupport.cpp | 248 +++++++++++----------
src/WINNT/afsrdr/kernel/lib/AFSGeneric.cpp | 16 +-
src/WINNT/afsrdr/kernel/lib/AFSWorker.cpp | 8 +-
src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h | 2 +-
5 files changed, 142 insertions(+), 153 deletions(-)
--
OpenAFS Master Repository