mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
d74802ade7
- Add a SPDX header; - Adjust document title; - Mark literal blocks as such; - Add table markups; - Comment out text ToC for html/pdf output; - Add lists markups; - Add it to filesystems/caching/index.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/eec0cfc268e8dca348f760224685100c9c2caba6.1588021877.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
# 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.
|
|
|
|
config CACHEFILES_HISTOGRAM
|
|
bool "Gather latency information on CacheFiles"
|
|
depends on CACHEFILES && PROC_FS
|
|
help
|
|
|
|
This option causes latency information to be gathered on CacheFiles
|
|
operation and exported through file:
|
|
|
|
/proc/fs/cachefiles/histogram
|
|
|
|
The generation of this histogram adds a certain amount of overhead to
|
|
execution as there are a number of points at which data is gathered,
|
|
and on a multi-CPU system these may be on cachelines that keep
|
|
bouncing between CPUs. On the other hand, the histogram may be
|
|
useful for debugging purposes. Saying 'N' here is recommended.
|
|
|
|
See Documentation/filesystems/caching/cachefiles.rst for more
|
|
information.
|