OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre4-32-g2571b62
Gerrit Code Review
gerrit@openafs.org
Mon, 2 May 2011 19:20:36 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 2571b6285d5da8ef62ab38c3a938258ddd7bac4e
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
Reviewed-on: http://gerrit.openafs.org/4562
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 79d5b5cce65b10134004c4cb2b7b34ac509cba6a)
Change-Id: Id9956be824a4c4d8db7deb65403f4d9740758e42
Reviewed-on: http://gerrit.openafs.org/4600
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