fscache, cachefiles: Disable configuration
authorDavid Howells <dhowells@redhat.com>
Mon, 25 Oct 2021 20:41:26 +0000 (21:41 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 7 Jan 2022 09:21:44 +0000 (09:21 +0000)
Disable fscache and cachefiles in Kconfig whilst it is rewritten.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/163819576672.215744.12444272479560406780.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/163906882835.143852.11073015983885872901.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/163967075113.1823006.277316290062782998.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164021481179.640689.2004199594774033658.stgit@warthog.procyon.org.uk/
fs/9p/Kconfig
fs/afs/Kconfig
fs/ceph/Kconfig
fs/cifs/Kconfig
fs/fscache/Kconfig
fs/nfs/Kconfig

index d7bc934..b3d33b3 100644 (file)
@@ -14,7 +14,7 @@ config 9P_FS
 if 9P_FS
 config 9P_FSCACHE
        bool "Enable 9P client caching support"
-       depends on 9P_FS=m && FSCACHE || 9P_FS=y && FSCACHE=y
+       depends on 9P_FS=m && FSCACHE_OLD_API || 9P_FS=y && FSCACHE_OLD_API=y
        help
          Choose Y here to enable persistent, read-only local
          caching support for 9p clients using FS-Cache
index fc8ba91..c40cdfc 100644 (file)
@@ -25,7 +25,7 @@ config AFS_DEBUG
 
 config AFS_FSCACHE
        bool "Provide AFS client caching support"
-       depends on AFS_FS=m && FSCACHE || AFS_FS=y && FSCACHE=y
+       depends on AFS_FS=m && FSCACHE_OLD_API || AFS_FS=y && FSCACHE_OLD_API=y
        help
          Say Y here if you want AFS data to be cached locally on disk through
          the generic filesystem cache manager
index 94df854..61f1233 100644 (file)
@@ -21,7 +21,7 @@ config CEPH_FS
 if CEPH_FS
 config CEPH_FSCACHE
        bool "Enable Ceph client caching support"
-       depends on CEPH_FS=m && FSCACHE || CEPH_FS=y && FSCACHE=y
+       depends on CEPH_FS=m && FSCACHE_OLD_API || CEPH_FS=y && FSCACHE_OLD_API=y
        help
          Choose Y here to enable persistent, read-only local
          caching support for Ceph clients using FS-Cache
index 3b7e3b9..346ae87 100644 (file)
@@ -188,7 +188,7 @@ config CIFS_SMB_DIRECT
 
 config CIFS_FSCACHE
        bool "Provide CIFS client caching support"
-       depends on CIFS=m && FSCACHE || CIFS=y && FSCACHE=y
+       depends on CIFS=m && FSCACHE_OLD_API || CIFS=y && FSCACHE_OLD_API=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
index b313a97..76316c4 100644 (file)
@@ -38,3 +38,6 @@ config FSCACHE_DEBUG
          enabled by setting bits in /sys/modules/fscache/parameter/debug.
 
          See Documentation/filesystems/caching/fscache.rst for more information.
+
+config FSCACHE_OLD_API
+       bool
index 14a7222..bdc11b8 100644 (file)
@@ -170,7 +170,7 @@ config ROOT_NFS
 
 config NFS_FSCACHE
        bool "Provide NFS client caching support"
-       depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
+       depends on NFS_FS=m && FSCACHE_OLD_API || NFS_FS=y && FSCACHE_OLD_API=y
        help
          Say Y here if you want NFS data to be cached locally on disc through
          the general filesystem cache manager