162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciconfig FSCACHE 462306a36Sopenharmony_ci tristate "General filesystem local caching manager" 562306a36Sopenharmony_ci select NETFS_SUPPORT 662306a36Sopenharmony_ci help 762306a36Sopenharmony_ci This option enables a generic filesystem caching manager that can be 862306a36Sopenharmony_ci used by various network and other filesystems to cache data locally. 962306a36Sopenharmony_ci Different sorts of caches can be plugged in, depending on the 1062306a36Sopenharmony_ci resources available. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci See Documentation/filesystems/caching/fscache.rst for more information. 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciconfig FSCACHE_STATS 1562306a36Sopenharmony_ci bool "Gather statistical information on local caching" 1662306a36Sopenharmony_ci depends on FSCACHE && PROC_FS 1762306a36Sopenharmony_ci select NETFS_STATS 1862306a36Sopenharmony_ci help 1962306a36Sopenharmony_ci This option causes statistical information to be gathered on local 2062306a36Sopenharmony_ci caching and exported through file: 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci /proc/fs/fscache/stats 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci The gathering of statistics adds a certain amount of overhead to 2562306a36Sopenharmony_ci execution as there are a quite a few stats gathered, and on a 2662306a36Sopenharmony_ci multi-CPU system these may be on cachelines that keep bouncing 2762306a36Sopenharmony_ci between CPUs. On the other hand, the stats are very useful for 2862306a36Sopenharmony_ci debugging purposes. Saying 'Y' here is recommended. 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci See Documentation/filesystems/caching/fscache.rst for more information. 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ciconfig FSCACHE_DEBUG 3362306a36Sopenharmony_ci bool "Debug FS-Cache" 3462306a36Sopenharmony_ci depends on FSCACHE 3562306a36Sopenharmony_ci help 3662306a36Sopenharmony_ci This permits debugging to be dynamically enabled in the local caching 3762306a36Sopenharmony_ci management module. If this is set, the debugging output may be 3862306a36Sopenharmony_ci enabled by setting bits in /sys/modules/fscache/parameter/debug. 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci See Documentation/filesystems/caching/fscache.rst for more information. 41