xref: /linux/fs/netfs/Kconfig (revision 289af54cc67ace285b6d4335a54324562894c4e2)
13a5829feSDavid Howells# SPDX-License-Identifier: GPL-2.0-only
23a5829feSDavid Howells
33a5829feSDavid Howellsconfig NETFS_SUPPORT
43a5829feSDavid Howells	tristate "Support for network filesystem high-level I/O"
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.
9*289af54cSDavid Howells
10*289af54cSDavid Howellsconfig NETFS_STATS
11*289af54cSDavid Howells	bool "Gather statistical information on local caching"
12*289af54cSDavid Howells	depends on NETFS_SUPPORT && PROC_FS
13*289af54cSDavid Howells	help
14*289af54cSDavid Howells	  This option causes statistical information to be gathered on local
15*289af54cSDavid Howells	  caching and exported through file:
16*289af54cSDavid Howells
17*289af54cSDavid Howells		/proc/fs/fscache/stats
18*289af54cSDavid Howells
19*289af54cSDavid Howells	  The gathering of statistics adds a certain amount of overhead to
20*289af54cSDavid Howells	  execution as there are a quite a few stats gathered, and on a
21*289af54cSDavid Howells	  multi-CPU system these may be on cachelines that keep bouncing
22*289af54cSDavid Howells	  between CPUs.  On the other hand, the stats are very useful for
23*289af54cSDavid Howells	  debugging purposes.  Saying 'Y' here is recommended.
24