OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_21-48-gf2db12a
Gerrit Code Review
gerrit@openafs.org
Sat, 2 Feb 2013 21:34:47 -0800 (PST)
The following commit has been merged in the openafs-devel-1_7_x branch:
commit 0b9fcbb1dd91d8043d9a834a89cfdd1b50e09b87
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sun Jan 13 10:15:02 2013 -0500
windows: Update raw fetch/store operations
rawops.c is a hold over from Eric Williams' original attempt
to implement an AFS redirector. When the rest of the his code
was purged from the tree and replaced with a more complete
implementation based upon the Kernel Drivers's File System
framework rawops.c was left behind.
Although the source file has been compiled as part of the build,
its functions ReadData and WriteData have never been called. This
patchset:
1. renames the functions to raw_ReadData and raw_WriteData
2. modifies the function signatures and provides a header
with prototypes
3. requires that cm_scache.rw be write-locked upon entry
4. renames variables
5. removes the #define CM_BUF_BUFSIZE and relies upon
cm_data.blockSize instead
6. Always write back the current range as an async store
instead of the previous chunk as random write patterns
will fail to store all of the dirty buffers.
Reviewed-on: http://gerrit.openafs.org/8953
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 24b6365169e48d21bbb97fb456860f63389a5bcf)
Change-Id: If35404a6d6647ad5018e62e08ad4795d56c25f3f
Reviewed-on: http://gerrit.openafs.org/9027
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/WINNT/afsd/rawops.c | 248 ++++++++++++++++++++---------------------------
src/WINNT/afsd/rawops.h | 19 ++++
2 files changed, 125 insertions(+), 142 deletions(-)
--
OpenAFS Master Repository