Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config CACHEFILES
  3. tristate "Filesystem caching on files"
  4. depends on FSCACHE && BLOCK
  5. help
  6. This permits use of a mounted filesystem as a cache for other
  7. filesystems - primarily networking filesystems - thus allowing fast
  8. local disk to enhance the speed of slower devices.
  9. See Documentation/filesystems/caching/cachefiles.rst for more
  10. information.
  11. config CACHEFILES_DEBUG
  12. bool "Debug CacheFiles"
  13. depends on CACHEFILES
  14. help
  15. This permits debugging to be dynamically enabled in the filesystem
  16. caching on files module. If this is set, the debugging output may be
  17. enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
  18. by including a debugging specifier in /etc/cachefilesd.conf.
  19. config CACHEFILES_ERROR_INJECTION
  20. bool "Provide error injection for cachefiles"
  21. depends on CACHEFILES && SYSCTL
  22. help
  23. This permits error injection to be enabled in cachefiles whilst a
  24. cache is in service.
  25. config CACHEFILES_ONDEMAND
  26. bool "Support for on-demand read"
  27. depends on CACHEFILES
  28. default n
  29. help
  30. This permits userspace to enable the cachefiles on-demand read mode.
  31. In this mode, when a cache miss occurs, responsibility for fetching
  32. the data lies with the cachefiles backend instead of with the netfs
  33. and is delegated to userspace.
  34. If unsure, say N.