Merge tag 'sched_ext-for-6.12-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / fs / netfs / Kconfig
CommitLineData
3a5829fe
DH
1# SPDX-License-Identifier: GPL-2.0-only
2
3config NETFS_SUPPORT
b71c7912 4 tristate
3a5829fe
DH
5 help
6 This option enables support for network filesystems, including
7 helpers for high-level buffered I/O, abstracting out read
8 segmentation, local caching and transparent huge page support.
289af54c
DH
9
10config NETFS_STATS
11 bool "Gather statistical information on local caching"
12 depends on NETFS_SUPPORT && PROC_FS
13 help
14 This option causes statistical information to be gathered on local
15 caching and exported through file:
16
17 /proc/fs/fscache/stats
18
19 The gathering of statistics adds a certain amount of overhead to
20 execution as there are a quite a few stats gathered, and on a
21 multi-CPU system these may be on cachelines that keep bouncing
22 between CPUs. On the other hand, the stats are very useful for
23 debugging purposes. Saying 'Y' here is recommended.
47757ea8 24
fcad9336
DH
25config NETFS_DEBUG
26 bool "Enable dynamic debugging netfslib and FS-Cache"
889ced4c 27 depends on NETFS_SUPPORT
fcad9336
DH
28 help
29 This permits debugging to be dynamically enabled in the local caching
30 management module. If this is set, the debugging output may be
31 enabled by setting bits in /sys/module/netfs/parameters/debug.
32
47757ea8 33config FSCACHE
915cd30c
DH
34 bool "General filesystem local caching manager"
35 depends on NETFS_SUPPORT
47757ea8
DH
36 help
37 This option enables a generic filesystem caching manager that can be
38 used by various network and other filesystems to cache data locally.
39 Different sorts of caches can be plugged in, depending on the
40 resources available.
41
42 See Documentation/filesystems/caching/fscache.rst for more information.
43
44config FSCACHE_STATS
45 bool "Gather statistical information on local caching"
46 depends on FSCACHE && PROC_FS
47 select NETFS_STATS
48 help
49 This option causes statistical information to be gathered on local
50 caching and exported through file:
51
52 /proc/fs/fscache/stats
53
54 The gathering of statistics adds a certain amount of overhead to
55 execution as there are a quite a few stats gathered, and on a
56 multi-CPU system these may be on cachelines that keep bouncing
57 between CPUs. On the other hand, the stats are very useful for
58 debugging purposes. Saying 'Y' here is recommended.
59
60 See Documentation/filesystems/caching/fscache.rst for more information.