cifs: add kernel config option for CIFS Client caching support
authorSuresh Jayaraman <sjayaraman@suse.de>
Mon, 5 Jul 2010 12:41:33 +0000 (18:11 +0530)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:33 +0000 (12:40 +0000)
Add a kernel config option to enable local caching for CIFS.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/Kconfig

index 80f352596807a43f08235209d0434998a8ae07a6..5739fd7f88b4996698f6768f8aa9b955177d127a 100644 (file)
@@ -131,6 +131,15 @@ config CIFS_DFS_UPCALL
            IP addresses) which is needed for implicit mounts of DFS junction
            points. If unsure, say N.
 
+config CIFS_FSCACHE
+         bool "Provide CIFS client caching support (EXPERIMENTAL)"
+         depends on EXPERIMENTAL
+         depends on CIFS=m && FSCACHE || CIFS=y && FSCACHE=y
+         help
+           Makes CIFS FS-Cache capable. Say Y here if you want your CIFS data
+           to be cached locally on disk through the general filesystem cache
+           manager. If unsure, say N.
+
 config CIFS_EXPERIMENTAL
          bool "CIFS Experimental Features (EXPERIMENTAL)"
          depends on CIFS && EXPERIMENTAL