[Linux-cachefs] Stats & Histogram

David Howells dhowells at redhat.com
Mon May 25 07:23:45 UTC 2009


jordi contreras <jordi.contreras at gmail.com> wrote:

> I see in the documentation that i can compile with
> 
> CONFIG_FSCACHE_STATS=y
> CONFIG_FSCACHE_HISTOGRAM=Y
> 
> but i don't find this options in the code, anybody knows where i can find
> that?

	warthog>grep -r 'FSCACHE_\(STATS\|HISTOGRAM\)' fs/fscache/
	fs/fscache/Makefile:fscache-$(CONFIG_FSCACHE_STATS) += stats.o
	fs/fscache/Makefile:fscache-$(CONFIG_FSCACHE_HISTOGRAM) += histogram.o
	fs/fscache/proc.c:#ifdef CONFIG_FSCACHE_STATS
	fs/fscache/proc.c:#ifdef CONFIG_FSCACHE_HISTOGRAM
	fs/fscache/proc.c:#ifdef CONFIG_FSCACHE_HISTOGRAM
	fs/fscache/proc.c:#ifdef CONFIG_FSCACHE_STATS
	fs/fscache/proc.c:#ifdef CONFIG_FSCACHE_HISTOGRAM
	fs/fscache/proc.c:#ifdef CONFIG_FSCACHE_STATS
	fs/fscache/page.c:#ifdef CONFIG_FSCACHE_STATS
	fs/fscache/Kconfig:config FSCACHE_STATS
	fs/fscache/Kconfig:config FSCACHE_HISTOGRAM
	fs/fscache/internal.h:#ifdef CONFIG_FSCACHE_HISTOGRAM
	fs/fscache/internal.h:#ifdef CONFIG_FSCACHE_STATS

> now i'm working with a kernel version under 2.6.30 and i work with Cache
> Filesystem with the module 0.9, can i recompile this module with this
> options?

You should be able to.

David




More information about the Linux-cachefs mailing list