13a5829feSDavid Howells# SPDX-License-Identifier: GPL-2.0-only 23a5829feSDavid Howells 33a5829feSDavid Howellsconfig NETFS_SUPPORT 4b71c7912SDavid Howells tristate 53a5829feSDavid Howells help 63a5829feSDavid Howells This option enables support for network filesystems, including 73a5829feSDavid Howells helpers for high-level buffered I/O, abstracting out read 83a5829feSDavid Howells segmentation, local caching and transparent huge page support. 9289af54cSDavid Howells 10289af54cSDavid Howellsconfig NETFS_STATS 11289af54cSDavid Howells bool "Gather statistical information on local caching" 12289af54cSDavid Howells depends on NETFS_SUPPORT && PROC_FS 13289af54cSDavid Howells help 14289af54cSDavid Howells This option causes statistical information to be gathered on local 15289af54cSDavid Howells caching and exported through file: 16289af54cSDavid Howells 17289af54cSDavid Howells /proc/fs/fscache/stats 18289af54cSDavid Howells 19289af54cSDavid Howells The gathering of statistics adds a certain amount of overhead to 20289af54cSDavid Howells execution as there are a quite a few stats gathered, and on a 21289af54cSDavid Howells multi-CPU system these may be on cachelines that keep bouncing 22289af54cSDavid Howells between CPUs. On the other hand, the stats are very useful for 23289af54cSDavid Howells debugging purposes. Saying 'Y' here is recommended. 24*47757ea8SDavid Howells 25*47757ea8SDavid Howellsconfig FSCACHE 26*47757ea8SDavid Howells tristate "General filesystem local caching manager" 27*47757ea8SDavid Howells select NETFS_SUPPORT 28*47757ea8SDavid Howells help 29*47757ea8SDavid Howells This option enables a generic filesystem caching manager that can be 30*47757ea8SDavid Howells used by various network and other filesystems to cache data locally. 31*47757ea8SDavid Howells Different sorts of caches can be plugged in, depending on the 32*47757ea8SDavid Howells resources available. 33*47757ea8SDavid Howells 34*47757ea8SDavid Howells See Documentation/filesystems/caching/fscache.rst for more information. 35*47757ea8SDavid Howells 36*47757ea8SDavid Howellsconfig FSCACHE_STATS 37*47757ea8SDavid Howells bool "Gather statistical information on local caching" 38*47757ea8SDavid Howells depends on FSCACHE && PROC_FS 39*47757ea8SDavid Howells select NETFS_STATS 40*47757ea8SDavid Howells help 41*47757ea8SDavid Howells This option causes statistical information to be gathered on local 42*47757ea8SDavid Howells caching and exported through file: 43*47757ea8SDavid Howells 44*47757ea8SDavid Howells /proc/fs/fscache/stats 45*47757ea8SDavid Howells 46*47757ea8SDavid Howells The gathering of statistics adds a certain amount of overhead to 47*47757ea8SDavid Howells execution as there are a quite a few stats gathered, and on a 48*47757ea8SDavid Howells multi-CPU system these may be on cachelines that keep bouncing 49*47757ea8SDavid Howells between CPUs. On the other hand, the stats are very useful for 50*47757ea8SDavid Howells debugging purposes. Saying 'Y' here is recommended. 51*47757ea8SDavid Howells 52*47757ea8SDavid Howells See Documentation/filesystems/caching/fscache.rst for more information. 53*47757ea8SDavid Howells 54*47757ea8SDavid Howellsconfig FSCACHE_DEBUG 55*47757ea8SDavid Howells bool "Debug FS-Cache" 56*47757ea8SDavid Howells depends on FSCACHE 57*47757ea8SDavid Howells help 58*47757ea8SDavid Howells This permits debugging to be dynamically enabled in the local caching 59*47757ea8SDavid Howells management module. If this is set, the debugging output may be 60*47757ea8SDavid Howells enabled by setting bits in /sys/modules/fscache/parameter/debug. 61*47757ea8SDavid Howells 62*47757ea8SDavid Howells See Documentation/filesystems/caching/fscache.rst for more information. 63