blob: 719faeeda168812326c0c10a6f77ece8e639b95a [file] [log] [blame]
David Howells77443f62021-11-26 14:32:29 +00001# SPDX-License-Identifier: GPL-2.0-only
2
3config CACHEFILES
4 tristate "Filesystem caching on files"
5 depends on FSCACHE && BLOCK
6 help
7 This permits use of a mounted filesystem as a cache for other
8 filesystems - primarily networking filesystems - thus allowing fast
9 local disk to enhance the speed of slower devices.
10
11 See Documentation/filesystems/caching/cachefiles.rst for more
12 information.
13
14config CACHEFILES_DEBUG
15 bool "Debug CacheFiles"
16 depends on CACHEFILES
17 help
18 This permits debugging to be dynamically enabled in the filesystem
19 caching on files module. If this is set, the debugging output may be
20 enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
21 by including a debugging specifier in /etc/cachefilesd.conf.
David Howellsa70f6522021-10-21 08:15:26 +010022
23config CACHEFILES_ERROR_INJECTION
24 bool "Provide error injection for cachefiles"
25 depends on CACHEFILES && SYSCTL
26 help
27 This permits error injection to be enabled in cachefiles whilst a
28 cache is in service.