summaryrefslogtreecommitdiffstats
path: root/fs/fscache/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-02-25 14:21:15 +0100
committerDavid Howells <dhowells@redhat.com>2015-04-02 15:28:53 +0200
commit03cdd0e4b9a98ae995b81cd8f58e992ec3f44ae2 (patch)
tree079c745fecdcf331840123b931a8602be6c37c1a /fs/fscache/internal.h
parentFS-Cache: Out of line fscache_operation_init() (diff)
downloadlinux-03cdd0e4b9a98ae995b81cd8f58e992ec3f44ae2.tar.xz
linux-03cdd0e4b9a98ae995b81cd8f58e992ec3f44ae2.zip
FS-Cache: Count the number of initialised operations
Count and display through /proc/fs/fscache/stats the number of initialised operations. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Steve Dickson <steved@redhat.com> Acked-by: Jeff Layton <jeff.layton@primarydata.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 87c4544ec912..a63225116db6 100644
--- a/fs/fscache/internal.h
+++ b/fs/fscache/internal.h
@@ -165,6 +165,7 @@ extern atomic_t fscache_n_op_pend;
extern atomic_t fscache_n_op_run;
extern atomic_t fscache_n_op_enqueue;
extern atomic_t fscache_n_op_deferred_release;
+extern atomic_t fscache_n_op_initialised;
extern atomic_t fscache_n_op_release;
extern atomic_t fscache_n_op_gc;
extern atomic_t fscache_n_op_cancelled;