diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-04-29 07:21:54 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:02 +0300 |
commit | 4f6dad46cb4b6db75758bc790a74d7f0f04e450b (patch) | |
tree | 0c5c3b11e5e50f1e14e407231a7608ab24eb77e1 /fs/bcachefs/trace.h | |
parent | 2ce867df3161886cfc6baf54aa9ef53f2281cdee (diff) | |
download | linux-4f6dad46cb4b6db75758bc790a74d7f0f04e450b.tar.xz |
bcachefs: Add a tracepoint for when we block on journal reclaim
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/trace.h')
-rw-r--r-- | fs/bcachefs/trace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/bcachefs/trace.h b/fs/bcachefs/trace.h index 7e518f7618d4..b0a696ae4fc1 100644 --- a/fs/bcachefs/trace.h +++ b/fs/bcachefs/trace.h @@ -621,6 +621,11 @@ DEFINE_EVENT(transaction_restart, trans_restart_btree_node_reused, TP_ARGS(ip) ); +DEFINE_EVENT(transaction_restart, trans_blocked_journal_reclaim, + TP_PROTO(unsigned long ip), + TP_ARGS(ip) +); + TRACE_EVENT(trans_restart_would_deadlock, TP_PROTO(unsigned long trans_ip, unsigned long caller_ip, |