diff options
| author | Kent Overstreet <[email protected]> | 2024-07-17 15:56:05 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-07-19 01:06:03 +0000 |
| commit | 2fa88b191929d3115ccda098071b34922957bb08 (patch) | |
| tree | a748c0e43ca43a0c94d37ebe5eee115f5b4febd2 /rust/helpers.c | |
| parent | bcachefs: mean_and_variance: Avoid too-large shift amounts (diff) | |
| download | kernel-2fa88b191929d3115ccda098071b34922957bb08.tar.gz kernel-2fa88b191929d3115ccda098071b34922957bb08.zip | |
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: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
