config NFCP
        bool "Network file cache support"
        help
          This option enable a network filesystem feature that can load files
          from remote server to local storage.

config NFCP_MANAGER
	tristate "General filesystem local caching manager"
	depends on NFCP
	select NFCP_HELPER_SUPPORT
	help
	  This option enables a generic filesystem caching manager that can be
	  used by various network and other filesystems to cache data locally.
	  Different sorts of caches can be plugged in, depending on the
	  resources available.

config NFCP_INFO
	bool "Gather statistical information on local caching"
	depends on NFCP_MANAGER && PROC_FS
	select NFCP_HPR_STATS
	help
	  This option causes statistical information to be gathered on local
	  caching and exported through file:

		/proc/fs/nfcp/stats

	  The gathering of statistics adds a certain amount of overhead to
	  execution as there are a quite a few stats gathered, and on a
	  multi-CPU system these may be on cachelines that keep bouncing
	  between CPUs.  On the other hand, the stats are very useful for
	  debugging purposes.  Saying 'Y' here is recommended.

	  See Documentation/filesystems/caching/nfcp.rst for more information.

config NFCP_MANAGER_DEBUG
	bool "Debug NFCP Manager"
	depends on NFCP_MANAGER
	help
	  This permits debugging to be dynamically enabled in the local caching
	  management module.  If this is set, the debugging output may be
	  enabled by setting bits in /sys/modules/nfcp/parameter/debug.

	  See Documentation/filesystems/caching/nfcp.rst for more information.

config NFCP_HELPER_SUPPORT
	tristate
	help
	  This option enables support for network filesystems, including
	  helpers for high-level buffered I/O, abstracting out read
	  segmentation, local caching and transparent huge page support.

config NFCP_BACKEND
	tristate "Filesystem caching on files"
	depends on NFCP && BLOCK
	help
	  This permits use of a mounted filesystem as a cache for other
	  filesystems - primarily networking filesystems - thus allowing fast
	  local disk to enhance the speed of slower devices.

config NFCP_BACKEND_DEBUG
	bool "Debug NFCP Backend"
	depends on NFCP_BACKEND
	help
	  This permits debugging to be dynamically enabled in the filesystem
	  caching on files module.  If this is set, the debugging output may be
	  enabled by setting bits in /sys/modules/nfcp_bnd/parameter/debug.

config NFCP_BACKEND_ERROR_INJECTION
	bool "Provide error injection for nfcp backend"
	depends on NFCP_BACKEND && SYSCTL
	help
	  This permits error injection to be enabled in nfcp backend whilst a
	  cache is in service.
