Kconfig 2.3 KB

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