File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,8 @@ void fscache_caching_failed(struct fscache_cookie *cookie)
263263{
264264 clear_bit (FSCACHE_COOKIE_IS_CACHING , & cookie -> flags );
265265 fscache_set_cookie_state (cookie , FSCACHE_COOKIE_STATE_FAILED );
266+ trace_fscache_cookie (cookie -> debug_id , refcount_read (& cookie -> ref ),
267+ fscache_cookie_failed );
266268}
267269EXPORT_SYMBOL (fscache_caching_failed );
268270
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ enum fscache_volume_trace {
4949enum fscache_cookie_trace {
5050 fscache_cookie_collision ,
5151 fscache_cookie_discard ,
52+ fscache_cookie_failed ,
5253 fscache_cookie_get_attach_object ,
5354 fscache_cookie_get_end_access ,
5455 fscache_cookie_get_hash_collision ,
@@ -131,6 +132,7 @@ enum fscache_access_trace {
131132#define fscache_cookie_traces \
132133 EM(fscache_cookie_collision, "*COLLIDE*") \
133134 EM(fscache_cookie_discard, "DISCARD ") \
135+ EM(fscache_cookie_failed, "FAILED ") \
134136 EM(fscache_cookie_get_attach_object, "GET attch") \
135137 EM(fscache_cookie_get_hash_collision, "GET hcoll") \
136138 EM(fscache_cookie_get_end_access, "GQ endac") \
You can’t perform that action at this time.
0 commit comments