diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-11-02 18:36:08 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:45 -0400 |
commit | 692d4031a458092bc602840739f97c4acf155dcb (patch) | |
tree | 6ac6b42173f93e845c3932cc6679c18795aa248f /fs/bcachefs/bset.h | |
parent | 29364f34530d30ca0f34dfe5d1ea73c8f1e77ff3 (diff) | |
download | linux-692d4031a458092bc602840739f97c4acf155dcb.tar.gz linux-692d4031a458092bc602840739f97c4acf155dcb.tar.bz2 linux-692d4031a458092bc602840739f97c4acf155dcb.zip |
bcachefs: Split out debug_check_btree_accounting
This check is very expensive
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bset.h')
-rw-r--r-- | fs/bcachefs/bset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/bset.h b/fs/bcachefs/bset.h index c9fe83ded267..21e4ed4eacc3 100644 --- a/fs/bcachefs/bset.h +++ b/fs/bcachefs/bset.h @@ -658,7 +658,7 @@ static inline void bch2_verify_insert_pos(struct btree *b, static inline void bch2_verify_btree_nr_keys(struct btree *b) { - if (bch2_expensive_debug_checks) + if (bch2_debug_check_btree_accounting) __bch2_verify_btree_nr_keys(b); } |