* [PATCH] fscache: Select netfs stats if fscache stats are enabled
@ 2021-06-04 10:45 David Howells
2021-06-04 11:36 ` Christian Brauner
0 siblings, 1 reply; 2+ messages in thread
From: David Howells @ 2021-06-04 10:45 UTC (permalink / raw)
To: linux-cachefs; +Cc: dhowells, linux-fsdevel, linux-kernel
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
---
fs/fscache/Kconfig | 1 +
1 file changed, 1 insertion(+)
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:
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-04 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 10:45 [PATCH] fscache: Select netfs stats if fscache stats are enabled David Howells
2021-06-04 11:36 ` Christian Brauner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.