mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 08:15:07 -04:00
It was an effort to enhance fscache as a kernel cache for lazy pulling (at least according to previous Incremental FS discussion [1]) and EROFS over fscache was the in-tree user of this mode. fscache has since evolved to be netfslib-oriented, serving network filesystem inodes via the netfs library, but EROFS never acts as a network filesystem and we need to cache golden filesystem images rather than individual EROFS inodes. Since EROFS over fscache is now removed, clean up netfs/fscache/ cachefiles upstream too. [1] https://lore.kernel.org/r/CAOQ4uxi4dzxArY24YO=+kBCK2gGoq3Ptb8WkzCqSogPgU_R3dQ@mail.gmail.com [dh] Fixed up comments on: https://sashiko.dev/#/patchset/20260716103030.3065561-1-dhowells%40redhat.com https://sashiko.dev/#/patchset/20260722130218.78958-1-dhowells%40redhat.com Signed-off-by: Gao Xiang <xiang@kernel.org> Signed-off-by: David Howells <dhowells@redhat.com> Link: https://patch.msgid.link/1046393.1786544127@warthog.procyon.org.uk cc: Paulo Alcantara <pc@manguebit.org> cc: netfs@lists.linux.dev cc: linux-erofs@lists.ozlabs.org cc: bpf@vger.kernel.org cc: linux-fsdevel@vger.kernel.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
29 lines
996 B
Plaintext
29 lines
996 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config CACHEFILES
|
|
tristate "Filesystem caching on files"
|
|
depends on NETFS_SUPPORT && 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.
|
|
|
|
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.
|