1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 3 config NETFS_SUPPORT 3 config NETFS_SUPPORT 4 tristate 4 tristate 5 help 5 help 6 This option enables support for netw 6 This option enables support for network filesystems, including 7 helpers for high-level buffered I/O, 7 helpers for high-level buffered I/O, abstracting out read 8 segmentation, local caching and tran 8 segmentation, local caching and transparent huge page support. 9 9 10 config NETFS_STATS 10 config NETFS_STATS 11 bool "Gather statistical information o 11 bool "Gather statistical information on local caching" 12 depends on NETFS_SUPPORT && PROC_FS 12 depends on NETFS_SUPPORT && PROC_FS 13 help 13 help 14 This option causes statistical infor 14 This option causes statistical information to be gathered on local 15 caching and exported through file: 15 caching and exported through file: 16 16 17 /proc/fs/fscache/stats 17 /proc/fs/fscache/stats 18 18 19 The gathering of statistics adds a c 19 The gathering of statistics adds a certain amount of overhead to 20 execution as there are a quite a few 20 execution as there are a quite a few stats gathered, and on a 21 multi-CPU system these may be on cac 21 multi-CPU system these may be on cachelines that keep bouncing 22 between CPUs. On the other hand, th 22 between CPUs. On the other hand, the stats are very useful for 23 debugging purposes. Saying 'Y' here 23 debugging purposes. Saying 'Y' here is recommended. 24 24 25 config NETFS_DEBUG << 26 bool "Enable dynamic debugging netfsli << 27 depends on NETFS_SUPPORT << 28 help << 29 This permits debugging to be dynamic << 30 management module. If this is set, << 31 enabled by setting bits in /sys/modu << 32 << 33 config FSCACHE 25 config FSCACHE 34 bool "General filesystem local caching 26 bool "General filesystem local caching manager" 35 depends on NETFS_SUPPORT 27 depends on NETFS_SUPPORT 36 help 28 help 37 This option enables a generic filesy 29 This option enables a generic filesystem caching manager that can be 38 used by various network and other fi 30 used by various network and other filesystems to cache data locally. 39 Different sorts of caches can be plu 31 Different sorts of caches can be plugged in, depending on the 40 resources available. 32 resources available. 41 33 42 See Documentation/filesystems/cachin 34 See Documentation/filesystems/caching/fscache.rst for more information. 43 35 44 config FSCACHE_STATS 36 config FSCACHE_STATS 45 bool "Gather statistical information o 37 bool "Gather statistical information on local caching" 46 depends on FSCACHE && PROC_FS 38 depends on FSCACHE && PROC_FS 47 select NETFS_STATS 39 select NETFS_STATS 48 help 40 help 49 This option causes statistical infor 41 This option causes statistical information to be gathered on local 50 caching and exported through file: 42 caching and exported through file: 51 43 52 /proc/fs/fscache/stats 44 /proc/fs/fscache/stats 53 45 54 The gathering of statistics adds a c 46 The gathering of statistics adds a certain amount of overhead to 55 execution as there are a quite a few 47 execution as there are a quite a few stats gathered, and on a 56 multi-CPU system these may be on cac 48 multi-CPU system these may be on cachelines that keep bouncing 57 between CPUs. On the other hand, th 49 between CPUs. On the other hand, the stats are very useful for 58 debugging purposes. Saying 'Y' here 50 debugging purposes. Saying 'Y' here is recommended. >> 51 >> 52 See Documentation/filesystems/caching/fscache.rst for more information. >> 53 >> 54 config FSCACHE_DEBUG >> 55 bool "Debug FS-Cache" >> 56 depends on FSCACHE >> 57 help >> 58 This permits debugging to be dynamically enabled in the local caching >> 59 management module. If this is set, the debugging output may be >> 60 enabled by setting bits in /sys/modules/fscache/parameter/debug. 59 61 60 See Documentation/filesystems/cachin 62 See Documentation/filesystems/caching/fscache.rst for more information.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.