OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-389-g8ec31f2
Gerrit Code Review
gerrit@openafs.org
Mon, 8 Nov 2010 11:40:58 -0800 (PST)
The following commit has been merged in the master branch:
commit 8ec31f26770ef1e85fb3a6005467f0e2d3ce1715
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Sun Nov 7 13:14:55 2010 -0500
Cache bypass: make readpage deal with reads at end of file
When a file's size is an exact multiple of the page size, the vfs
will issue a readpage for an extra page at the end, for which there
is no data. Deal with it here instead of letting it trickle down
to the background daemon, which will issue an unnecessary read to the
server, and maybe get confused because there is no data.
Change-Id: If86ed785c4e9d50edb1a960142f726fa869c50fc
Reviewed-on: http://gerrit.openafs.org/3281
Reviewed-by: Matt Benjamin <matt@linuxbox.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vnodeops.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository