Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config NETFS_SUPPORT
  3. tristate
  4. help
  5. This option enables support for network filesystems, including
  6. helpers for high-level buffered I/O, abstracting out read
  7. segmentation, local caching and transparent huge page support.
  8. config NETFS_STATS
  9. bool "Gather statistical information on local caching"
  10. depends on NETFS_SUPPORT && PROC_FS
  11. help
  12. This option causes statistical information to be gathered on local
  13. caching and exported through file:
  14. /proc/fs/fscache/stats
  15. The gathering of statistics adds a certain amount of overhead to
  16. execution as there are a quite a few stats gathered, and on a
  17. multi-CPU system these may be on cachelines that keep bouncing
  18. between CPUs. On the other hand, the stats are very useful for
  19. debugging purposes. Saying 'Y' here is recommended.
  20. config NETFS_DEBUG
  21. bool "Enable dynamic debugging netfslib and FS-Cache"
  22. depends on NETFS_SUPPORT
  23. help
  24. This permits debugging to be dynamically enabled in the local caching
  25. management module. If this is set, the debugging output may be
  26. enabled by setting bits in /sys/module/netfs/parameters/debug.
  27. config FSCACHE
  28. bool "General filesystem local caching manager"
  29. depends on NETFS_SUPPORT
  30. help
  31. This option enables a generic filesystem caching manager that can be
  32. used by various network and other filesystems to cache data locally.
  33. Different sorts of caches can be plugged in, depending on the
  34. resources available.
  35. See Documentation/filesystems/caching/fscache.rst for more information.
  36. config FSCACHE_STATS
  37. bool "Gather statistical information on local caching"
  38. depends on FSCACHE && PROC_FS
  39. select NETFS_STATS
  40. help
  41. This option causes statistical information to be gathered on local
  42. caching and exported through file:
  43. /proc/fs/fscache/stats
  44. The gathering of statistics adds a certain amount of overhead to
  45. execution as there are a quite a few stats gathered, and on a
  46. multi-CPU system these may be on cachelines that keep bouncing
  47. between CPUs. On the other hand, the stats are very useful for
  48. debugging purposes. Saying 'Y' here is recommended.
  49. See Documentation/filesystems/caching/fscache.rst for more information.