Commit | Line | Data |
---|---|---|
06b3db1b DH |
1 | |
2 | config FSCACHE | |
3 | tristate "General filesystem local caching manager" | |
06b3db1b DH |
4 | select SLOW_WORK |
5 | help | |
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 | |
9 | resources available. | |
10 | ||
11 | See Documentation/filesystems/caching/fscache.txt for more information. | |
12 | ||
7394daa8 DH |
13 | config FSCACHE_STATS |
14 | bool "Gather statistical information on local caching" | |
15 | depends on FSCACHE && PROC_FS | |
16 | help | |
17 | This option causes statistical information to be gathered on local | |
18 | caching and exported through file: | |
19 | ||
20 | /proc/fs/fscache/stats | |
21 | ||
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. | |
27 | ||
28 | See Documentation/filesystems/caching/fscache.txt for more information. | |
29 | ||
30 | config FSCACHE_HISTOGRAM | |
31 | bool "Gather latency information on local caching" | |
32 | depends on FSCACHE && PROC_FS | |
33 | help | |
34 | This option causes latency information to be gathered on local | |
35 | caching and exported through file: | |
36 | ||
37 | /proc/fs/fscache/histogram | |
38 | ||
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. | |
44 | ||
45 | See Documentation/filesystems/caching/fscache.txt for more information. | |
46 | ||
06b3db1b DH |
47 | config FSCACHE_DEBUG |
48 | bool "Debug FS-Cache" | |
49 | depends on FSCACHE | |
50 | help | |
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. | |
54 | ||
55 | See Documentation/filesystems/caching/fscache.txt for more information. | |
4fbf4291 DH |
56 | |
57 | config FSCACHE_OBJECT_LIST | |
58 | bool "Maintain global object list for debugging purposes" | |
59 | depends on FSCACHE && PROC_FS | |
60 | help | |
61 | Maintain a global list of active fscache objects that can be | |
62 | retrieved through /proc/fs/fscache/objects for debugging purposes |