OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_12-10-g3e7897d
Gerrit Code Review
gerrit@openafs.org
Wed, 16 May 2012 19:21:41 -0700 (PDT)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit d6f610af93b8318424c4bd9a870ce20fc9852a28
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().
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>
(cherry picked from commit 94f96c6aae142478bf0824e7c3a3a810494a123d)
Change-Id: I64f8c98af9aab0d56df9c9f1646aee0c107ab437
Reviewed-on: http://gerrit.openafs.org/7414
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-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