diff options
author | David Howells <dhowells@redhat.com> | 2021-06-04 12:37:45 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2021-08-25 16:20:18 +0200 |
commit | 4c5e413994e632fc317e521b207d372e28184aef (patch) | |
tree | 76bc9dab34a4cb4f6dc55690af6a682f609c19f3 /fs/fscache | |
parent | Linux 5.14-rc1 (diff) | |
download | linux-4c5e413994e632fc317e521b207d372e28184aef.tar.xz linux-4c5e413994e632fc317e521b207d372e28184aef.zip |
fscache: Select netfs stats if fscache stats are enabled
Unconditionally select the stats produced by the netfs lib if fscache stats
are enabled as the former are displayed in the latter's procfile.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-cachefs@redhat.com
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Link: https://lore.kernel.org/r/162280352566.3319242.10615341893991206961.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/162431189627.2908479.9165349423842063755.stgit@warthog.procyon.org.uk/
Diffstat (limited to 'fs/fscache')
-rw-r--r-- | fs/fscache/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fscache/Kconfig b/fs/fscache/Kconfig index 427efa73b9bd..92c87d8e0913 100644 --- a/fs/fscache/Kconfig +++ b/fs/fscache/Kconfig @@ -14,6 +14,7 @@ config FSCACHE config FSCACHE_STATS bool "Gather statistical information on local caching" depends on FSCACHE && PROC_FS + select NETFS_STATS help This option causes statistical information to be gathered on local caching and exported through file: |