1 ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2 06b3db1bSDavid Howells 3 *1e1236b8SDavid Howellsconfig FSCACHE 4 *1e1236b8SDavid Howells tristate "General filesystem local caching manager" 5 *1e1236b8SDavid Howells select NETFS_SUPPORT 6 *1e1236b8SDavid Howells help 7 *1e1236b8SDavid Howells This option enables a generic filesystem caching manager that can be 8 *1e1236b8SDavid Howells used by various network and other filesystems to cache data locally. 9 *1e1236b8SDavid Howells Different sorts of caches can be plugged in, depending on the 10 *1e1236b8SDavid Howells resources available. 11 *1e1236b8SDavid Howells 12 *1e1236b8SDavid Howells See Documentation/filesystems/caching/fscache.rst for more information. 13 *1e1236b8SDavid Howells 14 *1e1236b8SDavid Howellsconfig FSCACHE_STATS 15 *1e1236b8SDavid Howells bool "Gather statistical information on local caching" 16 *1e1236b8SDavid Howells depends on FSCACHE && PROC_FS 17 *1e1236b8SDavid Howells select NETFS_STATS 18 *1e1236b8SDavid Howells help 19 *1e1236b8SDavid Howells This option causes statistical information to be gathered on local 20 *1e1236b8SDavid Howells caching and exported through file: 21 *1e1236b8SDavid Howells 22 *1e1236b8SDavid Howells /proc/fs/fscache/stats 23 *1e1236b8SDavid Howells 24 *1e1236b8SDavid Howells The gathering of statistics adds a certain amount of overhead to 25 *1e1236b8SDavid Howells execution as there are a quite a few stats gathered, and on a 26 *1e1236b8SDavid Howells multi-CPU system these may be on cachelines that keep bouncing 27 *1e1236b8SDavid Howells between CPUs. On the other hand, the stats are very useful for 28 *1e1236b8SDavid Howells debugging purposes. Saying 'Y' here is recommended. 29 *1e1236b8SDavid Howells 30 *1e1236b8SDavid Howells See Documentation/filesystems/caching/fscache.rst for more information. 31 *1e1236b8SDavid Howells 32 *1e1236b8SDavid Howellsconfig FSCACHE_DEBUG 33 *1e1236b8SDavid Howells bool "Debug FS-Cache" 34 *1e1236b8SDavid Howells depends on FSCACHE 35 *1e1236b8SDavid Howells help 36 *1e1236b8SDavid Howells This permits debugging to be dynamically enabled in the local caching 37 *1e1236b8SDavid Howells management module. If this is set, the debugging output may be 38 *1e1236b8SDavid Howells enabled by setting bits in /sys/modules/fscache/parameter/debug. 39 *1e1236b8SDavid Howells 40 *1e1236b8SDavid Howells See Documentation/filesystems/caching/fscache.rst for more information. 41