2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2009-04-03 15:42:36 +00:00
|
|
|
|
|
|
|
config FSCACHE
|
|
|
|
tristate "General filesystem local caching manager"
|
2021-02-22 11:39:47 +00:00
|
|
|
select NETFS_SUPPORT
|
2009-04-03 15:42:36 +00:00
|
|
|
help
|
|
|
|
This option enables a generic filesystem caching manager that can be
|
|
|
|
used by various network and other filesystems to cache data locally.
|
|
|
|
Different sorts of caches can be plugged in, depending on the
|
|
|
|
resources available.
|
|
|
|
|
2020-04-27 21:16:54 +00:00
|
|
|
See Documentation/filesystems/caching/fscache.rst for more information.
|
2009-04-03 15:42:36 +00:00
|
|
|
|
2009-04-03 15:42:37 +00:00
|
|
|
config FSCACHE_STATS
|
|
|
|
bool "Gather statistical information on local caching"
|
|
|
|
depends on FSCACHE && PROC_FS
|
2021-06-04 10:37:45 +00:00
|
|
|
select NETFS_STATS
|
2009-04-03 15:42:37 +00:00
|
|
|
help
|
|
|
|
This option causes statistical information to be gathered on local
|
|
|
|
caching and exported through file:
|
|
|
|
|
|
|
|
/proc/fs/fscache/stats
|
|
|
|
|
|
|
|
The gathering of statistics adds a certain amount of overhead to
|
|
|
|
execution as there are a quite a few stats gathered, and on a
|
|
|
|
multi-CPU system these may be on cachelines that keep bouncing
|
|
|
|
between CPUs. On the other hand, the stats are very useful for
|
|
|
|
debugging purposes. Saying 'Y' here is recommended.
|
|
|
|
|
2020-04-27 21:16:54 +00:00
|
|
|
See Documentation/filesystems/caching/fscache.rst for more information.
|
2009-04-03 15:42:37 +00:00
|
|
|
|
2009-04-03 15:42:36 +00:00
|
|
|
config FSCACHE_DEBUG
|
|
|
|
bool "Debug FS-Cache"
|
|
|
|
depends on FSCACHE
|
|
|
|
help
|
|
|
|
This permits debugging to be dynamically enabled in the local caching
|
|
|
|
management module. If this is set, the debugging output may be
|
|
|
|
enabled by setting bits in /sys/modules/fscache/parameter/debug.
|
|
|
|
|
2020-04-27 21:16:54 +00:00
|
|
|
See Documentation/filesystems/caching/fscache.rst for more information.
|