Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 
0003 config FSCACHE
0004         tristate "General filesystem local caching manager"
0005         select NETFS_SUPPORT
0006         help
0007           This option enables a generic filesystem caching manager that can be
0008           used by various network and other filesystems to cache data locally.
0009           Different sorts of caches can be plugged in, depending on the
0010           resources available.
0011 
0012           See Documentation/filesystems/caching/fscache.rst for more information.
0013 
0014 config FSCACHE_STATS
0015         bool "Gather statistical information on local caching"
0016         depends on FSCACHE && PROC_FS
0017         select NETFS_STATS
0018         help
0019           This option causes statistical information to be gathered on local
0020           caching and exported through file:
0021 
0022                 /proc/fs/fscache/stats
0023 
0024           The gathering of statistics adds a certain amount of overhead to
0025           execution as there are a quite a few stats gathered, and on a
0026           multi-CPU system these may be on cachelines that keep bouncing
0027           between CPUs.  On the other hand, the stats are very useful for
0028           debugging purposes.  Saying 'Y' here is recommended.
0029 
0030           See Documentation/filesystems/caching/fscache.rst for more information.
0031 
0032 config FSCACHE_DEBUG
0033         bool "Debug FS-Cache"
0034         depends on FSCACHE
0035         help
0036           This permits debugging to be dynamically enabled in the local caching
0037           management module.  If this is set, the debugging output may be
0038           enabled by setting bits in /sys/modules/fscache/parameter/debug.
0039 
0040           See Documentation/filesystems/caching/fscache.rst for more information.