diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-30 04:59:30 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:03 -0400 |
commit | 49c7cd9d8d5545cf45ef91f548d25b6dd23c72c7 (patch) | |
tree | c2052d739855b978d365667d088146777c01e99b /fs/bcachefs/trace.h | |
parent | bb125baf512bffef19c510f1c53353a378537070 (diff) | |
download | lwn-49c7cd9d8d5545cf45ef91f548d25b6dd23c72c7.tar.gz lwn-49c7cd9d8d5545cf45ef91f548d25b6dd23c72c7.zip |
bcachefs: More drop_locks_do() conversions
Using drop_locks_do() ensures that every unlock() is paired with a
relock(), with proper error checking.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/trace.h')
-rw-r--r-- | fs/bcachefs/trace.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/fs/bcachefs/trace.h b/fs/bcachefs/trace.h index cfb1779d712a..a743ab477966 100644 --- a/fs/bcachefs/trace.h +++ b/fs/bcachefs/trace.h @@ -905,13 +905,6 @@ DEFINE_EVENT(transaction_event, trans_blocked_journal_reclaim, TP_ARGS(trans, caller_ip) ); -DEFINE_EVENT(transaction_event, trans_restart_journal_res_get, - TP_PROTO(struct btree_trans *trans, - unsigned long caller_ip), - TP_ARGS(trans, caller_ip) -); - - TRACE_EVENT(trans_restart_journal_preres_get, TP_PROTO(struct btree_trans *trans, unsigned long caller_ip, @@ -935,12 +928,6 @@ TRACE_EVENT(trans_restart_journal_preres_get, __entry->flags) ); -DEFINE_EVENT(transaction_event, trans_restart_journal_reclaim, - TP_PROTO(struct btree_trans *trans, - unsigned long caller_ip), - TP_ARGS(trans, caller_ip) -); - DEFINE_EVENT(transaction_event, trans_restart_fault_inject, TP_PROTO(struct btree_trans *trans, unsigned long caller_ip), @@ -953,12 +940,6 @@ DEFINE_EVENT(transaction_event, trans_traverse_all, TP_ARGS(trans, caller_ip) ); -DEFINE_EVENT(transaction_event, trans_restart_mark_replicas, - TP_PROTO(struct btree_trans *trans, - unsigned long caller_ip), - TP_ARGS(trans, caller_ip) -); - DEFINE_EVENT(transaction_event, trans_restart_key_cache_raced, TP_PROTO(struct btree_trans *trans, unsigned long caller_ip), |