1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 3 config CACHEFILES 3 config CACHEFILES 4 tristate "Filesystem caching on files" 4 tristate "Filesystem caching on files" 5 depends on NETFS_SUPPORT && FSCACHE && !! 5 depends on FSCACHE && BLOCK 6 help 6 help 7 This permits use of a mounted filesy 7 This permits use of a mounted filesystem as a cache for other 8 filesystems - primarily networking f 8 filesystems - primarily networking filesystems - thus allowing fast 9 local disk to enhance the speed of s 9 local disk to enhance the speed of slower devices. 10 10 11 See Documentation/filesystems/cachin 11 See Documentation/filesystems/caching/cachefiles.rst for more 12 information. 12 information. 13 13 14 config CACHEFILES_DEBUG 14 config CACHEFILES_DEBUG 15 bool "Debug CacheFiles" 15 bool "Debug CacheFiles" 16 depends on CACHEFILES 16 depends on CACHEFILES 17 help 17 help 18 This permits debugging to be dynamic 18 This permits debugging to be dynamically enabled in the filesystem 19 caching on files module. If this is 19 caching on files module. If this is set, the debugging output may be 20 enabled by setting bits in /sys/modu 20 enabled by setting bits in /sys/modules/cachefiles/parameter/debug or 21 by including a debugging specifier i 21 by including a debugging specifier in /etc/cachefilesd.conf. 22 << 23 config CACHEFILES_ERROR_INJECTION << 24 bool "Provide error injection for cach << 25 depends on CACHEFILES && SYSCTL << 26 help << 27 This permits error injection to be e << 28 cache is in service. << 29 << 30 config 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 << 36 In this mode, when a cache miss occu << 37 the data lies with the cachefiles ba << 38 and is delegated to userspace. << 39 << 40 If unsure, say N. <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.