xref: /linux/fs/netfs/Kconfig (revision b71c791254ff5e78a124c8949585dccd9e225e06)
13a5829feSDavid Howells# SPDX-License-Identifier: GPL-2.0-only
23a5829feSDavid Howells
33a5829feSDavid Howellsconfig NETFS_SUPPORT
4*b71c7912SDavid Howells	tristate
53a5829feSDavid Howells	help
63a5829feSDavid Howells	  This option enables support for network filesystems, including
73a5829feSDavid Howells	  helpers for high-level buffered I/O, abstracting out read
83a5829feSDavid Howells	  segmentation, local caching and transparent huge page support.
9289af54cSDavid Howells
10289af54cSDavid Howellsconfig NETFS_STATS
11289af54cSDavid Howells	bool "Gather statistical information on local caching"
12289af54cSDavid Howells	depends on NETFS_SUPPORT && PROC_FS
13289af54cSDavid Howells	help
14289af54cSDavid Howells	  This option causes statistical information to be gathered on local
15289af54cSDavid Howells	  caching and exported through file:
16289af54cSDavid Howells
17289af54cSDavid Howells		/proc/fs/fscache/stats
18289af54cSDavid Howells
19289af54cSDavid Howells	  The gathering of statistics adds a certain amount of overhead to
20289af54cSDavid Howells	  execution as there are a quite a few stats gathered, and on a
21289af54cSDavid Howells	  multi-CPU system these may be on cachelines that keep bouncing
22289af54cSDavid Howells	  between CPUs.  On the other hand, the stats are very useful for
23289af54cSDavid Howells	  debugging purposes.  Saying 'Y' here is recommended.
24