blob: 3f6dfa989881eb1f44315b768c943c2ac336bc74 [file] [log] [blame]
David Howells06b3db12009-04-03 16:42:36 +01001
2config FSCACHE
3 tristate "General filesystem local caching manager"
David Howells06b3db12009-04-03 16:42:36 +01004 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
David Howells7394daa2009-04-03 16:42:37 +010012config 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
David Howells06b3db12009-04-03 16:42:36 +010046config 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.
David Howells4fbf4292009-11-19 18:11:04 +000055
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