diff options
Diffstat (limited to 'fs/fscache/internal.h')
-rw-r--r-- | fs/fscache/internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/fscache/internal.h b/fs/fscache/internal.h index f6aad48d38a8..c81179303930 100644 --- a/fs/fscache/internal.h +++ b/fs/fscache/internal.h | |||
@@ -122,11 +122,17 @@ extern int fscache_submit_exclusive_op(struct fscache_object *, | |||
122 | extern int fscache_submit_op(struct fscache_object *, | 122 | extern int fscache_submit_op(struct fscache_object *, |
123 | struct fscache_operation *); | 123 | struct fscache_operation *); |
124 | extern int fscache_cancel_op(struct fscache_operation *); | 124 | extern int fscache_cancel_op(struct fscache_operation *); |
125 | extern void fscache_cancel_all_ops(struct fscache_object *); | ||
125 | extern void fscache_abort_object(struct fscache_object *); | 126 | extern void fscache_abort_object(struct fscache_object *); |
126 | extern void fscache_start_operations(struct fscache_object *); | 127 | extern void fscache_start_operations(struct fscache_object *); |
127 | extern void fscache_operation_gc(struct work_struct *); | 128 | extern void fscache_operation_gc(struct work_struct *); |
128 | 129 | ||
129 | /* | 130 | /* |
131 | * page.c | ||
132 | */ | ||
133 | extern void fscache_invalidate_writes(struct fscache_cookie *); | ||
134 | |||
135 | /* | ||
130 | * proc.c | 136 | * proc.c |
131 | */ | 137 | */ |
132 | #ifdef CONFIG_PROC_FS | 138 | #ifdef CONFIG_PROC_FS |
@@ -205,6 +211,9 @@ extern atomic_t fscache_n_acquires_ok; | |||
205 | extern atomic_t fscache_n_acquires_nobufs; | 211 | extern atomic_t fscache_n_acquires_nobufs; |
206 | extern atomic_t fscache_n_acquires_oom; | 212 | extern atomic_t fscache_n_acquires_oom; |
207 | 213 | ||
214 | extern atomic_t fscache_n_invalidates; | ||
215 | extern atomic_t fscache_n_invalidates_run; | ||
216 | |||
208 | extern atomic_t fscache_n_updates; | 217 | extern atomic_t fscache_n_updates; |
209 | extern atomic_t fscache_n_updates_null; | 218 | extern atomic_t fscache_n_updates_null; |
210 | extern atomic_t fscache_n_updates_run; | 219 | extern atomic_t fscache_n_updates_run; |
@@ -237,6 +246,7 @@ extern atomic_t fscache_n_cop_alloc_object; | |||
237 | extern atomic_t fscache_n_cop_lookup_object; | 246 | extern atomic_t fscache_n_cop_lookup_object; |
238 | extern atomic_t fscache_n_cop_lookup_complete; | 247 | extern atomic_t fscache_n_cop_lookup_complete; |
239 | extern atomic_t fscache_n_cop_grab_object; | 248 | extern atomic_t fscache_n_cop_grab_object; |
249 | extern atomic_t fscache_n_cop_invalidate_object; | ||
240 | extern atomic_t fscache_n_cop_update_object; | 250 | extern atomic_t fscache_n_cop_update_object; |
241 | extern atomic_t fscache_n_cop_drop_object; | 251 | extern atomic_t fscache_n_cop_drop_object; |
242 | extern atomic_t fscache_n_cop_put_object; | 252 | extern atomic_t fscache_n_cop_put_object; |