diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-16 20:36:26 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:19 -0400 |
commit | b84d42c31f34094c74d6306e11e3a0bc224c7575 (patch) | |
tree | 8d62edc2c574517751fe5820455a893be7cb821f /fs/bcachefs/btree_types.h | |
parent | bcachefs: Fix an assertion in bch2_truncate() (diff) | |
download | linux-b84d42c31f34094c74d6306e11e3a0bc224c7575.tar.gz linux-b84d42c31f34094c74d6306e11e3a0bc224c7575.tar.bz2 linux-b84d42c31f34094c74d6306e11e3a0bc224c7575.zip |
bcachefs: Split out CONFIG_BCACHEFS_DEBUG_TRANSACTIONS
This puts the btree_transactions sysfs/debugfs file behind a separate
config option - it's highly useful, but not cheap enough to enable
permenantly.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_types.h')
-rw-r--r-- | fs/bcachefs/btree_types.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/bcachefs/btree_types.h b/fs/bcachefs/btree_types.h index 25b0df22366b..e1b417df4b73 100644 --- a/fs/bcachefs/btree_types.h +++ b/fs/bcachefs/btree_types.h @@ -363,7 +363,6 @@ struct btree_trans_commit_hook { struct btree_trans { struct bch_fs *c; -#ifdef CONFIG_BCACHEFS_DEBUG struct list_head list; struct btree *locking; unsigned locking_path_idx; @@ -371,7 +370,6 @@ struct btree_trans { u8 locking_btree_id; u8 locking_level; pid_t pid; -#endif unsigned long ip; int srcu_idx; |