diff options
Diffstat (limited to 'fs/fscache/stats.c')
-rw-r--r-- | fs/fscache/stats.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/fs/fscache/stats.c b/fs/fscache/stats.c index 4c07439d1307..1d53ea68409e 100644 --- a/fs/fscache/stats.c +++ b/fs/fscache/stats.c | |||
@@ -58,6 +58,9 @@ atomic_t fscache_n_stores_nobufs; | |||
58 | atomic_t fscache_n_stores_oom; | 58 | atomic_t fscache_n_stores_oom; |
59 | atomic_t fscache_n_store_ops; | 59 | atomic_t fscache_n_store_ops; |
60 | atomic_t fscache_n_store_calls; | 60 | atomic_t fscache_n_store_calls; |
61 | atomic_t fscache_n_store_pages; | ||
62 | atomic_t fscache_n_store_radix_deletes; | ||
63 | atomic_t fscache_n_store_pages_over_limit; | ||
61 | 64 | ||
62 | atomic_t fscache_n_marks; | 65 | atomic_t fscache_n_marks; |
63 | atomic_t fscache_n_uncaches; | 66 | atomic_t fscache_n_uncaches; |
@@ -200,9 +203,12 @@ static int fscache_stats_show(struct seq_file *m, void *v) | |||
200 | atomic_read(&fscache_n_stores_again), | 203 | atomic_read(&fscache_n_stores_again), |
201 | atomic_read(&fscache_n_stores_nobufs), | 204 | atomic_read(&fscache_n_stores_nobufs), |
202 | atomic_read(&fscache_n_stores_oom)); | 205 | atomic_read(&fscache_n_stores_oom)); |
203 | seq_printf(m, "Stores : ops=%u run=%u\n", | 206 | seq_printf(m, "Stores : ops=%u run=%u pgs=%u rxd=%u olm=%u\n", |
204 | atomic_read(&fscache_n_store_ops), | 207 | atomic_read(&fscache_n_store_ops), |
205 | atomic_read(&fscache_n_store_calls)); | 208 | atomic_read(&fscache_n_store_calls), |
209 | atomic_read(&fscache_n_store_pages), | ||
210 | atomic_read(&fscache_n_store_radix_deletes), | ||
211 | atomic_read(&fscache_n_store_pages_over_limit)); | ||
206 | 212 | ||
207 | seq_printf(m, "Ops : pend=%u run=%u enq=%u can=%u\n", | 213 | seq_printf(m, "Ops : pend=%u run=%u enq=%u can=%u\n", |
208 | atomic_read(&fscache_n_op_pend), | 214 | atomic_read(&fscache_n_op_pend), |