diff options
Diffstat (limited to 'fs/fscache/stats.c')
-rw-r--r-- | fs/fscache/stats.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fs/fscache/stats.c b/fs/fscache/stats.c index 9e15289eb5c1..05f77caf4a2d 100644 --- a/fs/fscache/stats.c +++ b/fs/fscache/stats.c | |||
@@ -39,6 +39,7 @@ atomic_t fscache_n_allocs_ok; | |||
39 | atomic_t fscache_n_allocs_wait; | 39 | atomic_t fscache_n_allocs_wait; |
40 | atomic_t fscache_n_allocs_nobufs; | 40 | atomic_t fscache_n_allocs_nobufs; |
41 | atomic_t fscache_n_allocs_intr; | 41 | atomic_t fscache_n_allocs_intr; |
42 | atomic_t fscache_n_allocs_object_dead; | ||
42 | atomic_t fscache_n_alloc_ops; | 43 | atomic_t fscache_n_alloc_ops; |
43 | atomic_t fscache_n_alloc_op_waits; | 44 | atomic_t fscache_n_alloc_op_waits; |
44 | 45 | ||
@@ -49,6 +50,7 @@ atomic_t fscache_n_retrievals_nodata; | |||
49 | atomic_t fscache_n_retrievals_nobufs; | 50 | atomic_t fscache_n_retrievals_nobufs; |
50 | atomic_t fscache_n_retrievals_intr; | 51 | atomic_t fscache_n_retrievals_intr; |
51 | atomic_t fscache_n_retrievals_nomem; | 52 | atomic_t fscache_n_retrievals_nomem; |
53 | atomic_t fscache_n_retrievals_object_dead; | ||
52 | atomic_t fscache_n_retrieval_ops; | 54 | atomic_t fscache_n_retrieval_ops; |
53 | atomic_t fscache_n_retrieval_op_waits; | 55 | atomic_t fscache_n_retrieval_op_waits; |
54 | 56 | ||
@@ -188,9 +190,10 @@ static int fscache_stats_show(struct seq_file *m, void *v) | |||
188 | atomic_read(&fscache_n_allocs_wait), | 190 | atomic_read(&fscache_n_allocs_wait), |
189 | atomic_read(&fscache_n_allocs_nobufs), | 191 | atomic_read(&fscache_n_allocs_nobufs), |
190 | atomic_read(&fscache_n_allocs_intr)); | 192 | atomic_read(&fscache_n_allocs_intr)); |
191 | seq_printf(m, "Allocs : ops=%u owt=%u\n", | 193 | seq_printf(m, "Allocs : ops=%u owt=%u abt=%u\n", |
192 | atomic_read(&fscache_n_alloc_ops), | 194 | atomic_read(&fscache_n_alloc_ops), |
193 | atomic_read(&fscache_n_alloc_op_waits)); | 195 | atomic_read(&fscache_n_alloc_op_waits), |
196 | atomic_read(&fscache_n_allocs_object_dead)); | ||
194 | 197 | ||
195 | seq_printf(m, "Retrvls: n=%u ok=%u wt=%u nod=%u nbf=%u" | 198 | seq_printf(m, "Retrvls: n=%u ok=%u wt=%u nod=%u nbf=%u" |
196 | " int=%u oom=%u\n", | 199 | " int=%u oom=%u\n", |
@@ -201,9 +204,10 @@ static int fscache_stats_show(struct seq_file *m, void *v) | |||
201 | atomic_read(&fscache_n_retrievals_nobufs), | 204 | atomic_read(&fscache_n_retrievals_nobufs), |
202 | atomic_read(&fscache_n_retrievals_intr), | 205 | atomic_read(&fscache_n_retrievals_intr), |
203 | atomic_read(&fscache_n_retrievals_nomem)); | 206 | atomic_read(&fscache_n_retrievals_nomem)); |
204 | seq_printf(m, "Retrvls: ops=%u owt=%u\n", | 207 | seq_printf(m, "Retrvls: ops=%u owt=%u abt=%u\n", |
205 | atomic_read(&fscache_n_retrieval_ops), | 208 | atomic_read(&fscache_n_retrieval_ops), |
206 | atomic_read(&fscache_n_retrieval_op_waits)); | 209 | atomic_read(&fscache_n_retrieval_op_waits), |
210 | atomic_read(&fscache_n_retrievals_object_dead)); | ||
207 | 211 | ||
208 | seq_printf(m, "Stores : n=%u ok=%u agn=%u nbf=%u oom=%u\n", | 212 | seq_printf(m, "Stores : n=%u ok=%u agn=%u nbf=%u oom=%u\n", |
209 | atomic_read(&fscache_n_stores), | 213 | atomic_read(&fscache_n_stores), |