bcachefs: Don't decrease BTREE_ITER_MAX when LOCKDEP=y
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 3 Mar 2023 04:52:57 +0000 (23:52 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 15 Nov 2023 04:44:44 +0000 (23:44 -0500)
commit7125063fc6dfb77138b3a100527f3d8f9203ff2a
treec6f2901a1563d3e63c008726142354eeb8d4668b
parent497c57a303590ea69ace23506e182c489e85694d
bcachefs: Don't decrease BTREE_ITER_MAX when LOCKDEP=y

Running with fewer max btree paths doesn't work anymore when replication
is enabled - as we've added e.g. the freespace and bucket gens btrees,
we naturally end up needing more btree paths.

This is an issue with lockdep, we end up taking more locks than lockdep
will track (the MAX_LOCKD_DEPTH constant). But bcachefs as merged does
not yet support lockdep anyways, so we can leave that for later.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_types.h