]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - fs/fscache/Kconfig
FS-Cache: Reduce cookie ref count if submit fails.
[mirror_ubuntu-zesty-kernel.git] / fs / fscache / Kconfig
CommitLineData
06b3db1b
DH
1
2config FSCACHE
3 tristate "General filesystem local caching manager"
06b3db1b
DH
4 help
5 This option enables a generic filesystem caching manager that can be
6 used by various network and other filesystems to cache data locally.
7 Different sorts of caches can be plugged in, depending on the
8 resources available.
9
10 See Documentation/filesystems/caching/fscache.txt for more information.
11
7394daa8
DH
12config FSCACHE_STATS
13 bool "Gather statistical information on local caching"
14 depends on FSCACHE && PROC_FS
15 help
16 This option causes statistical information to be gathered on local
17 caching and exported through file:
18
19 /proc/fs/fscache/stats
20
21 The gathering of statistics adds a certain amount of overhead to
22 execution as there are a quite a few stats gathered, and on a
23 multi-CPU system these may be on cachelines that keep bouncing
24 between CPUs. On the other hand, the stats are very useful for
25 debugging purposes. Saying 'Y' here is recommended.
26
27 See Documentation/filesystems/caching/fscache.txt for more information.
28
29config FSCACHE_HISTOGRAM
30 bool "Gather latency information on local caching"
31 depends on FSCACHE && PROC_FS
32 help
33 This option causes latency information to be gathered on local
34 caching and exported through file:
35
36 /proc/fs/fscache/histogram
37
38 The generation of this histogram adds a certain amount of overhead to
39 execution as there are a number of points at which data is gathered,
40 and on a multi-CPU system these may be on cachelines that keep
41 bouncing between CPUs. On the other hand, the histogram may be
42 useful for debugging purposes. Saying 'N' here is recommended.
43
44 See Documentation/filesystems/caching/fscache.txt for more information.
45
06b3db1b
DH
46config FSCACHE_DEBUG
47 bool "Debug FS-Cache"
48 depends on FSCACHE
49 help
50 This permits debugging to be dynamically enabled in the local caching
51 management module. If this is set, the debugging output may be
52 enabled by setting bits in /sys/modules/fscache/parameter/debug.
53
54 See Documentation/filesystems/caching/fscache.txt for more information.
4fbf4291
DH
55
56config FSCACHE_OBJECT_LIST
57 bool "Maintain global object list for debugging purposes"
58 depends on FSCACHE && PROC_FS
59 help
60 Maintain a global list of active fscache objects that can be
61 retrieved through /proc/fs/fscache/objects for debugging purposes