xref: /linux/fs/cachefiles/Kconfig (revision 67f8bc848ee31831336bd478e57d2f993551902e)
177443f61SDavid Howells# SPDX-License-Identifier: GPL-2.0-only
277443f61SDavid Howells
377443f61SDavid Howellsconfig CACHEFILES
477443f61SDavid Howells	tristate "Filesystem caching on files"
5*915cd30cSDavid Howells	depends on NETFS_SUPPORT && FSCACHE && BLOCK
677443f61SDavid Howells	help
777443f61SDavid Howells	  This permits use of a mounted filesystem as a cache for other
877443f61SDavid Howells	  filesystems - primarily networking filesystems - thus allowing fast
977443f61SDavid Howells	  local disk to enhance the speed of slower devices.
1077443f61SDavid Howells
1177443f61SDavid Howells	  See Documentation/filesystems/caching/cachefiles.rst for more
1277443f61SDavid Howells	  information.
1377443f61SDavid Howells
1477443f61SDavid Howellsconfig CACHEFILES_DEBUG
1577443f61SDavid Howells	bool "Debug CacheFiles"
1677443f61SDavid Howells	depends on CACHEFILES
1777443f61SDavid Howells	help
1877443f61SDavid Howells	  This permits debugging to be dynamically enabled in the filesystem
1977443f61SDavid Howells	  caching on files module.  If this is set, the debugging output may be
2077443f61SDavid Howells	  enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
2177443f61SDavid Howells	  by including a debugging specifier in /etc/cachefilesd.conf.
22a70f6526SDavid Howells
23a70f6526SDavid Howellsconfig CACHEFILES_ERROR_INJECTION
24a70f6526SDavid Howells	bool "Provide error injection for cachefiles"
25a70f6526SDavid Howells	depends on CACHEFILES && SYSCTL
26a70f6526SDavid Howells	help
27a70f6526SDavid Howells	  This permits error injection to be enabled in cachefiles whilst a
28a70f6526SDavid Howells	  cache is in service.
29