aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fscache/stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fscache/stats.c')
-rw-r--r--fs/fscache/stats.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/fscache/stats.c b/fs/fscache/stats.c
index 045ba396dbf2..cda69994e06d 100644
--- a/fs/fscache/stats.c
+++ b/fs/fscache/stats.c
@@ -63,6 +63,11 @@ atomic_t fscache_n_store_pages;
63atomic_t fscache_n_store_radix_deletes; 63atomic_t fscache_n_store_radix_deletes;
64atomic_t fscache_n_store_pages_over_limit; 64atomic_t fscache_n_store_pages_over_limit;
65 65
66atomic_t fscache_n_store_vmscan_not_storing;
67atomic_t fscache_n_store_vmscan_gone;
68atomic_t fscache_n_store_vmscan_busy;
69atomic_t fscache_n_store_vmscan_cancelled;
70
66atomic_t fscache_n_marks; 71atomic_t fscache_n_marks;
67atomic_t fscache_n_uncaches; 72atomic_t fscache_n_uncaches;
68 73
@@ -211,6 +216,12 @@ static int fscache_stats_show(struct seq_file *m, void *v)
211 atomic_read(&fscache_n_store_radix_deletes), 216 atomic_read(&fscache_n_store_radix_deletes),
212 atomic_read(&fscache_n_store_pages_over_limit)); 217 atomic_read(&fscache_n_store_pages_over_limit));
213 218
219 seq_printf(m, "VmScan : nos=%u gon=%u bsy=%u can=%u\n",
220 atomic_read(&fscache_n_store_vmscan_not_storing),
221 atomic_read(&fscache_n_store_vmscan_gone),
222 atomic_read(&fscache_n_store_vmscan_busy),
223 atomic_read(&fscache_n_store_vmscan_cancelled));
224
214 seq_printf(m, "Ops : pend=%u run=%u enq=%u can=%u rej=%u\n", 225 seq_printf(m, "Ops : pend=%u run=%u enq=%u can=%u rej=%u\n",
215 atomic_read(&fscache_n_op_pend), 226 atomic_read(&fscache_n_op_pend),
216 atomic_read(&fscache_n_op_run), 227 atomic_read(&fscache_n_op_run),