OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_8-34-gc9f7546
Gerrit Code Review
gerrit@openafs.org
Thu, 5 Apr 2012 17:32:56 -0700 (PDT)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit c9f7546c0e8f2962c4d26932a3515391e86942c2
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Thu Apr 5 14:40:18 2012 -0400
Windows: Redirector must query volume size when asked
The volume size and free space cannot be obtained at volume
initialization and then re-used for all FileFsSizeInformation
and FileFsFullSizeInformation queries. Doing so prevents Windows
from being able to see changes in the available free space.
The maximum size of the volume is not the size of the partition
and the available space on the partition unless there is no quota
applied to the volume. If there is a quota, then the free space
is the smaller of the available quota and the available partition
space.
Add a new ioctl request to permit the redirector to query the
current Volume Size Information details.
Reviewed-on: http://gerrit.openafs.org/7052
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
(cherry picked from commit c19d1b875fab472dc7474c70529ab7fc2f7bf106)
Change-Id: I98ea5e21c2b9d0f1041c68e4cfe9156c94b3d639
Reviewed-on: http://gerrit.openafs.org/7056
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/common/AFSUserDefines.h | 1 +
src/WINNT/afsrdr/common/AFSUserStructs.h | 25 +++-
src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp | 38 +++++
src/WINNT/afsrdr/kernel/lib/AFSVolumeInfo.cpp | 56 +++++--
src/WINNT/afsrdr/kernel/lib/Include/AFSCommon.h | 5 +
src/WINNT/afsrdr/user/RDRFunction.c | 199 +++++++++++++++++++++--
src/WINNT/afsrdr/user/RDRInit.cpp | 19 +++
src/WINNT/afsrdr/user/RDRPrototypes.h | 7 +
8 files changed, 322 insertions(+), 28 deletions(-)
--
OpenAFS Master Repository