Kconfig 2.3 KB

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