~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/cachefiles/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/cachefiles/Kconfig (Version linux-6.12-rc7) and /fs/cachefiles/Kconfig (Version linux-5.0.21)


  1 # SPDX-License-Identifier: GPL-2.0-only        << 
  2                                                     1 
  3 config CACHEFILES                                   2 config CACHEFILES
  4         tristate "Filesystem caching on files"      3         tristate "Filesystem caching on files"
  5         depends on NETFS_SUPPORT && FSCACHE && !!   4         depends on FSCACHE && BLOCK
  6         help                                        5         help
  7           This permits use of a mounted filesy      6           This permits use of a mounted filesystem as a cache for other
  8           filesystems - primarily networking f      7           filesystems - primarily networking filesystems - thus allowing fast
  9           local disk to enhance the speed of s      8           local disk to enhance the speed of slower devices.
 10                                                     9 
 11           See Documentation/filesystems/cachin !!  10           See Documentation/filesystems/caching/cachefiles.txt for more
 12           information.                             11           information.
 13                                                    12 
 14 config CACHEFILES_DEBUG                            13 config CACHEFILES_DEBUG
 15         bool "Debug CacheFiles"                    14         bool "Debug CacheFiles"
 16         depends on CACHEFILES                      15         depends on CACHEFILES
 17         help                                       16         help
 18           This permits debugging to be dynamic     17           This permits debugging to be dynamically enabled in the filesystem
 19           caching on files module.  If this is     18           caching on files module.  If this is set, the debugging output may be
 20           enabled by setting bits in /sys/modu     19           enabled by setting bits in /sys/modules/cachefiles/parameter/debug or
 21           by including a debugging specifier i     20           by including a debugging specifier in /etc/cachefilesd.conf.
 22                                                    21 
 23 config CACHEFILES_ERROR_INJECTION              !!  22 config CACHEFILES_HISTOGRAM
 24         bool "Provide error injection for cach !!  23         bool "Gather latency information on CacheFiles"
 25         depends on CACHEFILES && SYSCTL        !!  24         depends on CACHEFILES && PROC_FS
 26         help                                       25         help
 27           This permits error injection to be e << 
 28           cache is in service.                 << 
 29                                                    26 
 30 config CACHEFILES_ONDEMAND                     !!  27           This option causes latency information to be gathered on CacheFiles
 31         bool "Support for on-demand read"      !!  28           operation and exported through file:
 32         depends on CACHEFILES                  !!  29 
 33         default n                              !!  30                 /proc/fs/cachefiles/histogram
 34         help                                   << 
 35           This permits userspace to enable the << 
 36           In this mode, when a cache miss occu << 
 37           the data lies with the cachefiles ba << 
 38           and is delegated to userspace.       << 
 39                                                    31 
 40           If unsure, say N.                    !!  32           The generation of this histogram adds a certain amount of overhead to
                                                   >>  33           execution as there are a number of points at which data is gathered,
                                                   >>  34           and on a multi-CPU system these may be on cachelines that keep
                                                   >>  35           bouncing between CPUs.  On the other hand, the histogram may be
                                                   >>  36           useful for debugging purposes.  Saying 'N' here is recommended.
                                                   >>  37 
                                                   >>  38           See Documentation/filesystems/caching/cachefiles.txt for more
                                                   >>  39           information.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php