blob: ff9ca55a9ae9c83c6c5503e33fbff1d468409fb9 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
David Howells9ae326a2009-04-03 16:42:41 +01002
3config CACHEFILES
4 tristate "Filesystem caching on files"
5 depends on FSCACHE && BLOCK
6 help
7 This permits use of a mounted filesystem as a cache for other
8 filesystems - primarily networking filesystems - thus allowing fast
9 local disk to enhance the speed of slower devices.
10
Mauro Carvalho Chehabd74802a2020-04-27 23:16:57 +020011 See Documentation/filesystems/caching/cachefiles.rst for more
David Howells9ae326a2009-04-03 16:42:41 +010012 information.
13
14config CACHEFILES_DEBUG
15 bool "Debug CacheFiles"
16 depends on CACHEFILES
17 help
18 This permits debugging to be dynamically enabled in the filesystem
19 caching on files module. If this is set, the debugging output may be
20 enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
21 by including a debugging specifier in /etc/cachefilesd.conf.
22
23config CACHEFILES_HISTOGRAM
24 bool "Gather latency information on CacheFiles"
25 depends on CACHEFILES && PROC_FS
26 help
27
28 This option causes latency information to be gathered on CacheFiles
29 operation and exported through file:
30
31 /proc/fs/cachefiles/histogram
32
33 The generation of this histogram adds a certain amount of overhead to
34 execution as there are a number of points at which data is gathered,
35 and on a multi-CPU system these may be on cachelines that keep
36 bouncing between CPUs. On the other hand, the histogram may be
37 useful for debugging purposes. Saying 'N' here is recommended.
38
Mauro Carvalho Chehabd74802a2020-04-27 23:16:57 +020039 See Documentation/filesystems/caching/cachefiles.rst for more
David Howells9ae326a2009-04-03 16:42:41 +010040 information.