aboutsummaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_types.h
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@gmail.com> 2022-01-04 00:33:52 -0500
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-10-22 17:09:21 -0400
commit669f87a5da1c7b91b64f3c6308820b316e241cc2 (patch)
treefc131a6ce9c35ae434a522ff080143e7f5e85969 /fs/bcachefs/btree_types.h
parentbcachefs: Fix bch2_journal_seq_blacklist_add() (diff)
downloadlinux-669f87a5da1c7b91b64f3c6308820b316e241cc2.tar.gz
linux-669f87a5da1c7b91b64f3c6308820b316e241cc2.tar.bz2
linux-669f87a5da1c7b91b64f3c6308820b316e241cc2.zip
bcachefs: Switch to __func__for recording where btree_trans was initialized
Symbol decoding, via %ps, isn't supported in userspace - this will also be faster when we're using trans->fn in the fast path, as with the new BCH_JSET_ENTRY_log journal messages. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/btree_types.h')
-rw-r--r--fs/bcachefs/btree_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_types.h b/fs/bcachefs/btree_types.h
index 1fd0cebe30ac..794726c4efd7 100644
--- a/fs/bcachefs/btree_types.h
+++ b/fs/bcachefs/btree_types.h
@@ -365,6 +365,7 @@ struct btree_trans_commit_hook {
struct btree_trans {
struct bch_fs *c;
+ const char *fn;
struct list_head list;
struct btree *locking;
unsigned locking_path_idx;
@@ -372,7 +373,6 @@ struct btree_trans {
u8 locking_btree_id;
u8 locking_level;
pid_t pid;
- unsigned long ip;
int srcu_idx;
u8 nr_sorted;