diff options
author | David Howells <dhowells@redhat.com> | 2009-01-17 05:38:25 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2009-01-17 05:38:25 +0000 |
commit | 8d738063d60a78574d92372bccf2c45025be89fa (patch) | |
tree | 3ad68e18bf0bb4511d3cad959fd5a05286c17d0d /drivers | |
parent | 386893d73da94c372ec0a5697c20bee3a4a912a9 (diff) |
FS-Cache: Add use of /proc and presentation of statistics
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions