diff options
Diffstat (limited to 'fs/fscache/stats.c')
-rw-r--r-- | fs/fscache/stats.c | 11 |
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; | |||
63 | atomic_t fscache_n_store_radix_deletes; | 63 | atomic_t fscache_n_store_radix_deletes; |
64 | atomic_t fscache_n_store_pages_over_limit; | 64 | atomic_t fscache_n_store_pages_over_limit; |
65 | 65 | ||
66 | atomic_t fscache_n_store_vmscan_not_storing; | ||
67 | atomic_t fscache_n_store_vmscan_gone; | ||
68 | atomic_t fscache_n_store_vmscan_busy; | ||
69 | atomic_t fscache_n_store_vmscan_cancelled; | ||
70 | |||
66 | atomic_t fscache_n_marks; | 71 | atomic_t fscache_n_marks; |
67 | atomic_t fscache_n_uncaches; | 72 | atomic_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), |