OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1132-g79d5b5c
Gerrit Code Review
gerrit@openafs.org
Wed, 27 Apr 2011 10:40:09 -0700 (PDT)
The following commit has been merged in the master branch:
commit 79d5b5cce65b10134004c4cb2b7b34ac509cba6a
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Mon Apr 25 14:18:39 2011 -0400
Linux: Don't read pages beyond the cache eof
If we attempt to read past the end of the current cache file (for
example, when we're extending the file with ftruncate), don't force
the backend filesystem to populate that page with non-existent data.
This will hopefully fix a bus error when using tmpfs as a backing
cache.
FIXES 128452
Change-Id: I087aa1587885e97493130e5d05db6a1ed961181a
Reviewed-on: http://gerrit.openafs.org/4562
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vnodeops.c | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository