OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_74_1-374-gc66ba55
Gerrit Code Review
gerrit@openafs.org
Fri, 2 Jul 2010 09:56:37 -0700 (PDT)
The following commit has been merged in the master branch:
commit c66ba55bd882de677e425a9b9f7f29215a05b647
Author: matt@linuxbox.com <matt@linuxbox.com>
Date: Fri Jun 18 14:27:07 2010 -0400
cache-bypass explicitly reference pages involved in background i/o
Formerly, we assumed that any page eligible for background i/o could
be effectively pinned by lock_page. Persuant to concern expressed by
Simon that such pages might be eligible to be released by the kernel
after readpages returns, call get_page to increment the refcount on
each page before dispatching a background read (and matching put_page
when the i/o is completed).
Change-Id: Ib3a63e56e6b902b4eb5deb769847e7f17ce2c9ff
Reviewed-on: http://gerrit.openafs.org/2215
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vnodeops.c | 7 +++++++
src/afs/afs_bypasscache.c | 32 +++++++++++++++++---------------
2 files changed, 24 insertions(+), 15 deletions(-)
--
OpenAFS Master Repository