2021-11-26 22:32:29 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
|
|
|
config CACHEFILES
|
|
|
|
tristate "Filesystem caching on files"
|
|
|
|
depends on FSCACHE && BLOCK
|
|
|
|
help
|
|
|
|
This permits use of a mounted filesystem as a cache for other
|
|
|
|
filesystems - primarily networking filesystems - thus allowing fast
|
|
|
|
local disk to enhance the speed of slower devices.
|
|
|
|
|
|
|
|
See Documentation/filesystems/caching/cachefiles.rst for more
|
|
|
|
information.
|
|
|
|
|
|
|
|
config CACHEFILES_DEBUG
|
|
|
|
bool "Debug CacheFiles"
|
|
|
|
depends on CACHEFILES
|
|
|
|
help
|
|
|
|
This permits debugging to be dynamically enabled in the filesystem
|
|
|
|
caching on files module. If this is set, the debugging output may be
|
|
|
|
enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
|
|
|
|
by including a debugging specifier in /etc/cachefilesd.conf.
|
2021-10-21 15:15:26 +08:00
|
|
|
|
|
|
|
config CACHEFILES_ERROR_INJECTION
|
|
|
|
bool "Provide error injection for cachefiles"
|
|
|
|
depends on CACHEFILES && SYSCTL
|
|
|
|
help
|
|
|
|
This permits error injection to be enabled in cachefiles whilst a
|
|
|
|
cache is in service.
|