Commit 4c5e4139 authored by David Howells's avatar David Howells

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: default avatarDavid Howells <dhowells@redhat.com>
cc: linux-cachefs@redhat.com
Reviewed-by: default avatarJeff 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/
parent e73f0f0e
...@@ -14,6 +14,7 @@ config FSCACHE ...@@ -14,6 +14,7 @@ config FSCACHE
config FSCACHE_STATS config FSCACHE_STATS
bool "Gather statistical information on local caching" bool "Gather statistical information on local caching"
depends on FSCACHE && PROC_FS depends on FSCACHE && PROC_FS
select NETFS_STATS
help help
This option causes statistical information to be gathered on local This option causes statistical information to be gathered on local
caching and exported through file: caching and exported through file:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment