diff options
author | Jeff Layton | 2022-08-05 06:43:48 -0400 |
---|---|---|
committer | David Howells | 2022-08-09 14:13:59 +0100 |
commit | 1a1e3aca9d4957e282945cdc2b58e7c560b8e0d2 (patch) | |
tree | 05042b4ba49575a893f6079f5f413c414cc406a8 /fs | |
parent | fb24771faf72a2fd62b3b6287af3c610c3ec9cf1 (diff) |
fscache: add tracepoint when failing cookie
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fscache/cookie.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fscache/cookie.c b/fs/fscache/cookie.c index 26a6d395737a..451d8a077e12 100644 --- a/fs/fscache/cookie.c +++ b/fs/fscache/cookie.c @@ -263,6 +263,8 @@ void fscache_caching_failed(struct fscache_cookie *cookie) { clear_bit(FSCACHE_COOKIE_IS_CACHING, &cookie->flags); fscache_set_cookie_state(cookie, FSCACHE_COOKIE_STATE_FAILED); + trace_fscache_cookie(cookie->debug_id, refcount_read(&cookie->ref), + fscache_cookie_failed); } EXPORT_SYMBOL(fscache_caching_failed); |