162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciconfig NETFS_SUPPORT
462306a36Sopenharmony_ci	tristate
562306a36Sopenharmony_ci	help
662306a36Sopenharmony_ci	  This option enables support for network filesystems, including
762306a36Sopenharmony_ci	  helpers for high-level buffered I/O, abstracting out read
862306a36Sopenharmony_ci	  segmentation, local caching and transparent huge page support.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciconfig NETFS_STATS
1162306a36Sopenharmony_ci	bool "Gather statistical information on local caching"
1262306a36Sopenharmony_ci	depends on NETFS_SUPPORT && PROC_FS
1362306a36Sopenharmony_ci	help
1462306a36Sopenharmony_ci	  This option causes statistical information to be gathered on local
1562306a36Sopenharmony_ci	  caching and exported through file:
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci		/proc/fs/fscache/stats
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci	  The gathering of statistics adds a certain amount of overhead to
2062306a36Sopenharmony_ci	  execution as there are a quite a few stats gathered, and on a
2162306a36Sopenharmony_ci	  multi-CPU system these may be on cachelines that keep bouncing
2262306a36Sopenharmony_ci	  between CPUs.  On the other hand, the stats are very useful for
2362306a36Sopenharmony_ci	  debugging purposes.  Saying 'Y' here is recommended.
24