[Linux-cachefs] Re: Linux-cachefs Digest, Vol 55, Issue 9

jordi contreras jordi.contreras at gmail.com
Tue May 26 14:54:15 UTC 2009


>Sorry, but I'm not sure what you're getting at.  Can you do:

  >     grep FSCACHE .config

>in your kernel directory?  You may find that the entries are there already,
>just set to N.  If not, please check that you have procfs enabled.

Like you told me in other post i did the next instruction:

grep -r 'FSCACHE_\(STATS\|HISTOGRAM\)' fs/fscache/

in the tar.gz 2.6.9.30-rc5 that i downloaded and he found this:

       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

But i don't know what i need to modify for enable STATS and HISTOGRAM
options.

Thanks!



More information about the Linux-cachefs mailing list