Skip to content
Commit 2fa88b19 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: kill btree_trans_too_many_iters() in bch2_bucket_alloc_freelist()



When we're called via
trans commit -> btree split -> allocator

We may have already arbitrarily many btree_paths, for the transaction
commit we're trying to do; when this happens, the
btree_trans_too_many_iters() call causes us to livelock.

Since the allocator calls btree_iter_dontneed to release paths as it
iterates, this shouldn't cause any problems.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 73f88592
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment