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. 2447757ea8SDavid Howells 25fcad9336SDavid Howellsconfig NETFS_DEBUG 26fcad9336SDavid Howells bool "Enable dynamic debugging netfslib and FS-Cache" 27*889ced4cSLukas Bulwahn depends on NETFS_SUPPORT 28fcad9336SDavid Howells help 29fcad9336SDavid Howells This permits debugging to be dynamically enabled in the local caching 30fcad9336SDavid Howells management module. If this is set, the debugging output may be 31fcad9336SDavid Howells enabled by setting bits in /sys/module/netfs/parameters/debug. 32fcad9336SDavid Howells 3347757ea8SDavid Howellsconfig FSCACHE 34915cd30cSDavid Howells bool "General filesystem local caching manager" 35915cd30cSDavid Howells depends on NETFS_SUPPORT 3647757ea8SDavid Howells help 3747757ea8SDavid Howells This option enables a generic filesystem caching manager that can be 3847757ea8SDavid Howells used by various network and other filesystems to cache data locally. 3947757ea8SDavid Howells Different sorts of caches can be plugged in, depending on the 4047757ea8SDavid Howells resources available. 4147757ea8SDavid Howells 4247757ea8SDavid Howells See Documentation/filesystems/caching/fscache.rst for more information. 4347757ea8SDavid Howells 4447757ea8SDavid Howellsconfig FSCACHE_STATS 4547757ea8SDavid Howells bool "Gather statistical information on local caching" 4647757ea8SDavid Howells depends on FSCACHE && PROC_FS 4747757ea8SDavid Howells select NETFS_STATS 4847757ea8SDavid Howells help 4947757ea8SDavid Howells This option causes statistical information to be gathered on local 5047757ea8SDavid Howells caching and exported through file: 5147757ea8SDavid Howells 5247757ea8SDavid Howells /proc/fs/fscache/stats 5347757ea8SDavid Howells 5447757ea8SDavid Howells The gathering of statistics adds a certain amount of overhead to 5547757ea8SDavid Howells execution as there are a quite a few stats gathered, and on a 5647757ea8SDavid Howells multi-CPU system these may be on cachelines that keep bouncing 5747757ea8SDavid Howells between CPUs. On the other hand, the stats are very useful for 5847757ea8SDavid Howells debugging purposes. Saying 'Y' here is recommended. 5947757ea8SDavid Howells 6047757ea8SDavid Howells See Documentation/filesystems/caching/fscache.rst for more information. 61