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)
263
263
{
264
264
clear_bit (FSCACHE_COOKIE_IS_CACHING , & cookie -> flags );
265
265
fscache_set_cookie_state (cookie , FSCACHE_COOKIE_STATE_FAILED );
266
+ trace_fscache_cookie (cookie -> debug_id , refcount_read (& cookie -> ref ),
267
+ fscache_cookie_failed );
266
268
}
267
269
EXPORT_SYMBOL (fscache_caching_failed );
268
270
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ enum fscache_volume_trace {
49
49
enum fscache_cookie_trace {
50
50
fscache_cookie_collision ,
51
51
fscache_cookie_discard ,
52
+ fscache_cookie_failed ,
52
53
fscache_cookie_get_attach_object ,
53
54
fscache_cookie_get_end_access ,
54
55
fscache_cookie_get_hash_collision ,
@@ -131,6 +132,7 @@ enum fscache_access_trace {
131
132
#define fscache_cookie_traces \
132
133
EM(fscache_cookie_collision, "*COLLIDE*") \
133
134
EM(fscache_cookie_discard, "DISCARD ") \
135
+ EM(fscache_cookie_failed, "FAILED ") \
134
136
EM(fscache_cookie_get_attach_object, "GET attch") \
135
137
EM(fscache_cookie_get_hash_collision, "GET hcoll") \
136
138
EM(fscache_cookie_get_end_access, "GQ endac") \
You can’t perform that action at this time.
0 commit comments