mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
7394daa8c6
Make FS-Cache create its /proc interface and present various statistical information through it. Also provide the functions for updating this information. These features are enabled by: CONFIG_FSCACHE_PROC CONFIG_FSCACHE_STATS CONFIG_FSCACHE_HISTOGRAM The /proc directory for FS-Cache is also exported so that caching modules can add their own statistics there too. The FS-Cache module is loadable at this point, and the statistics files can be examined by userspace: cat /proc/fs/fscache/stats cat /proc/fs/fscache/histogram Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Steve Dickson <steved@redhat.com> Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com> Acked-by: Al Viro <viro@zeniv.linux.org.uk> Tested-by: Daire Byrne <Daire.Byrne@framestore.com>
12 lines
242 B
Makefile
12 lines
242 B
Makefile
#
|
|
# Makefile for general filesystem caching code
|
|
#
|
|
|
|
fscache-y := \
|
|
main.o
|
|
|
|
fscache-$(CONFIG_PROC_FS) += proc.o
|
|
fscache-$(CONFIG_FSCACHE_STATS) += stats.o
|
|
fscache-$(CONFIG_FSCACHE_HISTOGRAM) += histogram.o
|
|
|
|
obj-$(CONFIG_FSCACHE) := fscache.o
|