OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-9-g6d9ad2e
Gerrit Code Review
gerrit@openafs.org
Sat, 3 Oct 2009 16:19:42 -0700 (PDT)
The following commit has been merged in the master branch:
commit 6d9ad2e4d0c5e87a8d2d02834134ca68122b8e33
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Fri Oct 2 14:34:50 2009 +0100
Refactor linux readpage support
The readpage call on Linux was becoming horribly complex.
This patch refactors it into three main components - a function which
fills a locked page (without unlocking it), a function which triggers
a cache bypass operation on a page, and a function which does
conditional prefetch, based on the properties of the page that was just
read.
In addition, we abstract out the cache bypass code further, and provide
static inline variants which are simply stubbed out when cache bypass is
disabled.
Reviewed-on: http://gerrit.openafs.org/569
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/LINUX/osi_vnodeops.c | 439 ++++++++++++++++++++++++------------------
1 files changed, 254 insertions(+), 185 deletions(-)
--
OpenAFS Master Repository