mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +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>
13 lines
242 B
Makefile
13 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
|