OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_73-12-g5d5da6e
Gerrit Code Review
gerrit@openafs.org
Sun, 28 Mar 2010 14:01:56 -0700 (PDT)
The following commit has been merged in the master branch:
commit 5d5da6eb4d5db9323ad0b89417d17ea577a0eb98
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sat Mar 27 16:13:27 2010 -0400
Windows: buffers whose offsets are beyond EOF should be zero filled and locally allocated
When a buffer is being allocated for an offset that exceeds the
file length as known to the file server, that buffer should be zero
filled and it does not require server validation.
Previously all buffers were populated with a FetchData call.
This is wasteful of time and server resources when there is a
valid callback registration because the serverLength is known
to be valid.
LICENSE MIT
Change-Id: I13f9a8dbd6387c3ba71638a682e995d7a7d0862f
Reviewed-on: http://gerrit.openafs.org/1664
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Asanka Herath <asanka@secure-endpoints.com>
Reviewed-by: Asanka Herath <asanka@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/afsd/cm_dcache.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository