Kconfig 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config FSCACHE
  3. tristate "General filesystem local caching manager"
  4. help
  5. This option enables a generic filesystem caching manager that can be
  6. used by various network and other filesystems to cache data locally.
  7. Different sorts of caches can be plugged in, depending on the
  8. resources available.
  9. See Documentation/filesystems/caching/fscache.rst for more information.
  10. config FSCACHE_STATS
  11. bool "Gather statistical information on local caching"
  12. depends on FSCACHE && PROC_FS
  13. help
  14. This option causes statistical information to be gathered on local
  15. caching and exported through file:
  16. /proc/fs/fscache/stats
  17. The gathering of statistics adds a certain amount of overhead to
  18. execution as there are a quite a few stats gathered, and on a
  19. multi-CPU system these may be on cachelines that keep bouncing
  20. between CPUs. On the other hand, the stats are very useful for
  21. debugging purposes. Saying 'Y' here is recommended.
  22. See Documentation/filesystems/caching/fscache.rst for more information.
  23. config FSCACHE_HISTOGRAM
  24. bool "Gather latency information on local caching"
  25. depends on FSCACHE && PROC_FS
  26. help
  27. This option causes latency information to be gathered on local
  28. caching and exported through file:
  29. /proc/fs/fscache/histogram
  30. The generation of this histogram adds a certain amount of overhead to
  31. execution as there are a number of points at which data is gathered,
  32. and on a multi-CPU system these may be on cachelines that keep
  33. bouncing between CPUs. On the other hand, the histogram may be
  34. useful for debugging purposes. Saying 'N' here is recommended.
  35. See Documentation/filesystems/caching/fscache.rst for more information.
  36. config FSCACHE_DEBUG
  37. bool "Debug FS-Cache"
  38. depends on FSCACHE
  39. help
  40. This permits debugging to be dynamically enabled in the local caching
  41. management module. If this is set, the debugging output may be
  42. enabled by setting bits in /sys/modules/fscache/parameter/debug.
  43. See Documentation/filesystems/caching/fscache.rst for more information.
  44. config FSCACHE_OBJECT_LIST
  45. bool "Maintain global object list for debugging purposes"
  46. depends on FSCACHE && PROC_FS
  47. help
  48. Maintain a global list of active fscache objects that can be
  49. retrieved through /proc/fs/fscache/objects for debugging purposes