David Howells | 3a5829f | 2020-10-30 15:26:31 +0000 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | config NETFS_SUPPORT |
David Howells | b71c791 | 2021-05-13 11:40:27 +0100 | [diff] [blame] | 4 | tristate |
David Howells | 3a5829f | 2020-10-30 15:26:31 +0000 | [diff] [blame] | 5 | help |
| 6 | This option enables support for network filesystems, including |
| 7 | helpers for high-level buffered I/O, abstracting out read |
| 8 | segmentation, local caching and transparent huge page support. |
David Howells | 289af54 | 2020-11-03 11:32:41 +0000 | [diff] [blame] | 9 | |
| 10 | config NETFS_STATS |
| 11 | bool "Gather statistical information on local caching" |
| 12 | depends on NETFS_SUPPORT && PROC_FS |
| 13 | help |
| 14 | This option causes statistical information to be gathered on local |
| 15 | caching and exported through file: |
| 16 | |
| 17 | /proc/fs/fscache/stats |
| 18 | |
| 19 | The gathering of statistics adds a certain amount of overhead to |
| 20 | execution as there are a quite a few stats gathered, and on a |
| 21 | multi-CPU system these may be on cachelines that keep bouncing |
| 22 | between CPUs. On the other hand, the stats are very useful for |
| 23 | debugging purposes. Saying 'Y' here is recommended. |