OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-3791-g3767cf8
Gerrit Code Review
gerrit@openafs.org
Tue, 28 May 2013 15:56:41 -0700 (PDT)
The following commit has been merged in the master branch:
commit 3767cf8bf420bd59c3426a4287259b1e97178e96
Author: Marc Dionne <marc.dionne@your-file-system.com>
Date: Wed May 22 09:26:57 2013 -0400
Linux: Fix tmpfs cache support
As of kernel 3.1, tmpfs no longer has a readpage() operation in its
address space operations. Some of the cache manager code relies on
this, causing an oops if tmpfs is used as backing store for the
cache.
As a minimal fix, detect that there is no readpage() and disable
the optimizations that depend on it.
Change-Id: I6e2236cd53f893d77a8d6568eae7e200ad8d1ac0
Reviewed-on: http://gerrit.openafs.org/9949
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/LINUX/osi_vnodeops.c | 38 +++++++++++++++++++++++++++++++-------
1 files changed, 31 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository