162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciconfig CACHEFILES 462306a36Sopenharmony_ci tristate "Filesystem caching on files" 562306a36Sopenharmony_ci depends on FSCACHE && BLOCK 662306a36Sopenharmony_ci help 762306a36Sopenharmony_ci This permits use of a mounted filesystem as a cache for other 862306a36Sopenharmony_ci filesystems - primarily networking filesystems - thus allowing fast 962306a36Sopenharmony_ci local disk to enhance the speed of slower devices. 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci See Documentation/filesystems/caching/cachefiles.rst for more 1262306a36Sopenharmony_ci information. 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciconfig CACHEFILES_DEBUG 1562306a36Sopenharmony_ci bool "Debug CacheFiles" 1662306a36Sopenharmony_ci depends on CACHEFILES 1762306a36Sopenharmony_ci help 1862306a36Sopenharmony_ci This permits debugging to be dynamically enabled in the filesystem 1962306a36Sopenharmony_ci caching on files module. If this is set, the debugging output may be 2062306a36Sopenharmony_ci enabled by setting bits in /sys/modules/cachefiles/parameter/debug or 2162306a36Sopenharmony_ci by including a debugging specifier in /etc/cachefilesd.conf. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciconfig CACHEFILES_ERROR_INJECTION 2462306a36Sopenharmony_ci bool "Provide error injection for cachefiles" 2562306a36Sopenharmony_ci depends on CACHEFILES && SYSCTL 2662306a36Sopenharmony_ci help 2762306a36Sopenharmony_ci This permits error injection to be enabled in cachefiles whilst a 2862306a36Sopenharmony_ci cache is in service. 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ciconfig CACHEFILES_ONDEMAND 3162306a36Sopenharmony_ci bool "Support for on-demand read" 3262306a36Sopenharmony_ci depends on CACHEFILES 3362306a36Sopenharmony_ci default n 3462306a36Sopenharmony_ci help 3562306a36Sopenharmony_ci This permits userspace to enable the cachefiles on-demand read mode. 3662306a36Sopenharmony_ci In this mode, when a cache miss occurs, responsibility for fetching 3762306a36Sopenharmony_ci the data lies with the cachefiles backend instead of with the netfs 3862306a36Sopenharmony_ci and is delegated to userspace. 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci If unsure, say N. 41