diff options
| author | Kent Overstreet | 2021-04-14 13:26:15 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:09:00 -0400 |
| commit | 2527dd91580b1eb5ff1f8df1b47817ac60395830 (patch) | |
| tree | 010df60c971735284954e484109dbac249db7a3a /tools/perf/scripts/python | |
| parent | 0ef107859bc868f783cbbbf055a907c702896661 (diff) | |
bcachefs: Improve bch2_btree_iter_traverse_all()
By changing it to upgrade iterators to intent locks to avoid lock
restarts we can simplify __bch2_btree_node_lock() quite a bit - this
fixes a probable bug where it could potentially drop a lock on an
unrelated error but still succeed instead of causing a transaction
restart.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
