Loading...
1
2config CACHEFILES
3 tristate "Filesystem caching on files"
4 depends on FSCACHE && BLOCK
5 help
6 This permits use of a mounted filesystem as a cache for other
7 filesystems - primarily networking filesystems - thus allowing fast
8 local disk to enhance the speed of slower devices.
9
10 See Documentation/filesystems/caching/cachefiles.txt for more
11 information.
12
13config CACHEFILES_DEBUG
14 bool "Debug CacheFiles"
15 depends on CACHEFILES
16 help
17 This permits debugging to be dynamically enabled in the filesystem
18 caching on files module. If this is set, the debugging output may be
19 enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
20 by including a debugging specifier in /etc/cachefilesd.conf.
21
22config CACHEFILES_HISTOGRAM
23 bool "Gather latency information on CacheFiles"
24 depends on CACHEFILES && PROC_FS
25 help
26
27 This option causes latency information to be gathered on CacheFiles
28 operation and exported through file:
29
30 /proc/fs/cachefiles/histogram
31
32 The generation of this histogram adds a certain amount of overhead to
33 execution as there are a number of points at which data is gathered,
34 and on a multi-CPU system these may be on cachelines that keep
35 bouncing between CPUs. On the other hand, the histogram may be
36 useful for debugging purposes. Saying 'N' here is recommended.
37
38 See Documentation/filesystems/caching/cachefiles.txt for more
39 information.
1# SPDX-License-Identifier: GPL-2.0-only
2
3config CACHEFILES
4 tristate "Filesystem caching on files"
5 depends on NETFS_SUPPORT && 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
11 See Documentation/filesystems/caching/cachefiles.rst for more
12 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_ERROR_INJECTION
24 bool "Provide error injection for cachefiles"
25 depends on CACHEFILES && SYSCTL
26 help
27 This permits error injection to be enabled in cachefiles whilst a
28 cache is in service.
29
30config CACHEFILES_ONDEMAND
31 bool "Support for on-demand read"
32 depends on CACHEFILES
33 default n
34 help
35 This permits userspace to enable the cachefiles on-demand read mode.
36 In this mode, when a cache miss occurs, responsibility for fetching
37 the data lies with the cachefiles backend instead of with the netfs
38 and is delegated to userspace.
39
40 If unsure, say N.