summaryrefslogtreecommitdiffstats
path: root/fs/fscache/internal.h
diff options
context:
space:
mode:
authorDavid Howells2009-11-19 19:11:38 +0100
committerDavid Howells2009-11-19 19:11:38 +0100
commit2175bb06dc6cf2af9c098a1770561f9e63edae4e (patch)
tree579c8d4b3f4f92efee919953dab2c78cea8c21ea /fs/fscache/internal.h
parentFS-Cache: Handle pages pending storage that get evicted under OOM conditions (diff)
downloadkernel-qcow2-linux-2175bb06dc6cf2af9c098a1770561f9e63edae4e.tar.gz
kernel-qcow2-linux-2175bb06dc6cf2af9c098a1770561f9e63edae4e.tar.xz
kernel-qcow2-linux-2175bb06dc6cf2af9c098a1770561f9e63edae4e.zip
FS-Cache: Add a retirement stat counter
Add a stat counter to count retirement events rather than ordinary release events (the retire argument to fscache_relinquish_cookie()). Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/fscache/internal.h')
-rw-r--r--fs/fscache/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fscache/internal.h b/fs/fscache/internal.h
index e5046519b153..2bf463d26080 100644
--- a/fs/fscache/internal.h
+++ b/fs/fscache/internal.h
@@ -202,6 +202,7 @@ extern atomic_t fscache_n_updates_run;
extern atomic_t fscache_n_relinquishes;
extern atomic_t fscache_n_relinquishes_null;
extern atomic_t fscache_n_relinquishes_waitcrt;
+extern atomic_t fscache_n_relinquishes_retire;
extern atomic_t fscache_n_cookie_index;
extern atomic_t fscache_n_cookie_data;