Commit 3b9ce977b2f31b6c396b6fb620df9881a30fac9d

Authored by David Howells
1 parent c6a6f19e22

NFS: Permit local filesystem caching to be enabled for NFS

Permit local filesystem caching to be enabled for NFS in the kernel
configuration.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Steve Dickson <steved@redhat.com>
Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Tested-by: Daire Byrne <Daire.Byrne@framestore.com>

Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff

... ... @@ -84,4 +84,12 @@
84 84 <file:Documentation/filesystems/nfsroot.txt>.
85 85  
86 86 Most people say N here.
  87 +
  88 +config NFS_FSCACHE
  89 + bool "Provide NFS client caching support (EXPERIMENTAL)"
  90 + depends on EXPERIMENTAL
  91 + depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
  92 + help
  93 + Say Y here if you want NFS data to be cached locally on disc through
  94 + the general filesystem cache manager