summaryrefslogtreecommitdiff
path: root/fs/cachefiles/Kconfig
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2021-11-26 17:32:29 +0300
committerDavid Howells <dhowells@redhat.com>2022-01-07 16:40:39 +0300
commit77443f6171f32626f24b2f97494c71a6bd83831a (patch)
tree0588a7761bb07f4d7e4ff43b72899b6048ccf3a8 /fs/cachefiles/Kconfig
parent16a96bdf92d5af06f9fa6a01a4b08e2fdfed2e5b (diff)
downloadlinux-77443f6171f32626f24b2f97494c71a6bd83831a.tar.xz
cachefiles: Introduce rewritten driver
Introduce basic skeleton of the rewritten cachefiles driver including config options so that it can be enabled for compilation. 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/163819622766.215744.9108359326983195047.stgit@warthog.procyon.org.uk/ # v1 Link: https://lore.kernel.org/r/163906923341.143852.3856498104256721447.stgit@warthog.procyon.org.uk/ # v2 Link: https://lore.kernel.org/r/163967130320.1823006.15791456613198441566.stgit@warthog.procyon.org.uk/ # v3 Link: https://lore.kernel.org/r/164021528993.640689.9069695476048171884.stgit@warthog.procyon.org.uk/ # v4
Diffstat (limited to 'fs/cachefiles/Kconfig')
-rw-r--r--fs/cachefiles/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/fs/cachefiles/Kconfig b/fs/cachefiles/Kconfig
new file mode 100644
index 000000000000..6827b40f7ddc
--- /dev/null
+++ b/fs/cachefiles/Kconfig
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config CACHEFILES
+ tristate "Filesystem caching on files"
+ depends on FSCACHE && BLOCK
+ help
+ This permits use of a mounted filesystem as a cache for other
+ filesystems - primarily networking filesystems - thus allowing fast
+ local disk to enhance the speed of slower devices.
+
+ See Documentation/filesystems/caching/cachefiles.rst for more
+ information.
+
+config CACHEFILES_DEBUG
+ bool "Debug CacheFiles"
+ depends on CACHEFILES
+ help
+ This permits debugging to be dynamically enabled in the filesystem
+ caching on files module. If this is set, the debugging output may be
+ enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
+ by including a debugging specifier in /etc/cachefilesd.conf.