FS-Cache: Count culled objects and objects rejected due to lack of space
authorDavid Howells <dhowells@redhat.com>
Thu, 19 Feb 2015 23:47:31 +0000 (23:47 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 24 Feb 2015 10:05:27 +0000 (10:05 +0000)
Count the number of objects that get culled by the cache backend and the
number of objects that the cache backend declines to instantiate due to lack
of space in the cache.

These numbers are made available through /proc/fs/fscache/stats

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Steve Dickson <steved@redhat.com>
Acked-by: Jeff Layton <jeff.layton@primarydata.com>
Documentation/filesystems/caching/backend-api.txt
Documentation/filesystems/caching/fscache.txt
fs/cachefiles/internal.h
fs/cachefiles/namei.c
fs/fscache/internal.h
fs/fscache/object.c
fs/fscache/stats.c
include/linux/fscache-cache.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge