diff options
| author | Kent Overstreet | 2021-03-31 15:39:16 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:58 -0400 |
| commit | 1259cc31b23221feae5e49cc02eaf7cfb7df9f54 (patch) | |
| tree | d8c83c5c087cfe8d485e0b45ff9147005ab32312 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | e264b2f62a8fdf571e9ca9a741719a9b567573f5 (diff) | |
bcachefs: Change where merging of interior btree nodes is trigger from
Previously, we were doing btree node merging from
bch2_btree_insert_node() - but this is called from the split path, when
we're in the middle of creating new nodes and deleting new nodes and the
iterators are in a weird state.
Also, this means we're starting a new btree_update while in the middle
of an existing one, and that's asking for deadlocks.
Much simpler and saner to trigger btree node merging _after_ the whole
btree node split path is finished.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
