[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cachefs] Stats & Histogram



jordi contreras <jordi contreras 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]