1 # SPDX-License-Identifier: GPL-2.0-only
4 tristate "General filesystem local caching manager"
6 This option enables a generic filesystem caching manager that can be
7 used by various network and other filesystems to cache data locally.
8 Different sorts of caches can be plugged in, depending on the
11 See Documentation/filesystems/caching/fscache.txt for more information.
14 bool "Gather statistical information on local caching"
15 depends on FSCACHE && PROC_FS
17 This option causes statistical information to be gathered on local
18 caching and exported through file:
20 /proc/fs/fscache/stats
22 The gathering of statistics adds a certain amount of overhead to
23 execution as there are a quite a few stats gathered, and on a
24 multi-CPU system these may be on cachelines that keep bouncing
25 between CPUs. On the other hand, the stats are very useful for
26 debugging purposes. Saying 'Y' here is recommended.
28 See Documentation/filesystems/caching/fscache.txt for more information.
30 config FSCACHE_HISTOGRAM
31 bool "Gather latency information on local caching"
32 depends on FSCACHE && PROC_FS
34 This option causes latency information to be gathered on local
35 caching and exported through file:
37 /proc/fs/fscache/histogram
39 The generation of this histogram adds a certain amount of overhead to
40 execution as there are a number of points at which data is gathered,
41 and on a multi-CPU system these may be on cachelines that keep
42 bouncing between CPUs. On the other hand, the histogram may be
43 useful for debugging purposes. Saying 'N' here is recommended.
45 See Documentation/filesystems/caching/fscache.txt for more information.
51 This permits debugging to be dynamically enabled in the local caching
52 management module. If this is set, the debugging output may be
53 enabled by setting bits in /sys/modules/fscache/parameter/debug.
55 See Documentation/filesystems/caching/fscache.txt for more information.
57 config FSCACHE_OBJECT_LIST
58 bool "Maintain global object list for debugging purposes"
59 depends on FSCACHE && PROC_FS
61 Maintain a global list of active fscache objects that can be
62 retrieved through /proc/fs/fscache/objects for debugging purposes