summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-02-19 01:40:19 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2022-02-19 01:40:19 -0500
commitb35ed024c958ca40b53a2edb8b5d6ef44825d416 (patch)
tree70b30ee42c57624826a569b3ccb76e3e80ec4e35
parentda8056a215b89f229d33c89944d136190d71f2bc (diff)
bcachefs: Don't decrease BTREE_ITER_MAX with lockdep
Lockdep's tables are now configurable in size, so we don't need to limit the number of locks held when it's enabled anymore - this should help with transaction path overflows we've been seeing. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r--fs/bcachefs/btree_types.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/bcachefs/btree_types.h b/fs/bcachefs/btree_types.h
index 9ae5c8d56b2a..ae52ac96bbda 100644
--- a/fs/bcachefs/btree_types.h
+++ b/fs/bcachefs/btree_types.h
@@ -352,11 +352,7 @@ struct btree_insert_entry {
unsigned long ip_allocated;
};
-#ifndef CONFIG_LOCKDEP
#define BTREE_ITER_MAX 64
-#else
-#define BTREE_ITER_MAX 32
-#endif
struct btree_trans_commit_hook;
typedef int (btree_trans_commit_hook_fn)(struct btree_trans *, struct btree_trans_commit_hook *);