bcachefs: More general fix for transaction paths overflow
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 25 Oct 2021 22:30:28 +0000 (18:30 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:15 +0000 (17:09 -0400)
commitd121172561d670c8152559614b3575322d709d8d
tree4dfc8c029a1441753a5e3c2ad1aa3e298b0e787c
parent396a887d8fdf37d9e3e9a5b2db823184f8ec2eaa
bcachefs: More general fix for transaction paths overflow

for_each_btree_key() now calls bch2_trans_begin() as needed; that means,
we can also call it when we're in danger of overflowing transaction
paths.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_iter.h