The following commit has been merged in the openafs-stable-1_6_5_x branch:
commit 823d182a5bba7054849ce767db46acbb01e3499a
Author: Marc Dionne <[email protected]>
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.
Reviewed-on: http://gerrit.openafs.org/9949
Tested-by: BuildBot <[email protected]>
Reviewed-by: Derrick Brashear <[email protected]>
(cherry picked from commit 3767cf8bf420bd59c3426a4287259b1e97178e96)
Reviewed-on: http://gerrit.openafs.org/9950
Tested-by: BuildBot <[email protected]>
Reviewed-by: Andrew Deason <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
(cherry picked from commit 7a40c83337cb4ff07646ea7c2cc0d6d98be94bff)
Change-Id: I063428ba5a177b57eccf883c2019dbc670a6c080
Reviewed-on: http://gerrit.openafs.org/10612
Reviewed-by: Stephan Wiesand <[email protected]>
Tested-by: Stephan Wiesand <[email protected]>
src/afs/LINUX/osi_vnodeops.c | 38 +++++++++++++++++++++++++++++++-------
1 files changed, 31 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs