diff options
| author | Kent Overstreet <[email protected]> | 2022-08-05 13:06:44 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:41 -0400 |
| commit | 62448afee714354a26db8a0f3c644f58628f0792 (patch) | |
| tree | 97c0ead47c4af1dc655906672655d530b1a2a8d6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 845cffed0d343ecea9f6ff3883cac9a6872d9920 (diff) | |
bcachefs: Fix bch2_btree_node_upgrade()
Previously, if we were trying to upgrade from a read to an intent lock
but we held an additional read lock via another btree_path,
bch2_btree_node_upgrade() would always fail, in six_lock_tryupgrade().
This patch factors out the code that __bch2_btree_node_lock_write() uses
to temporarily drop extra read locks, so that six_lock_tryupgrade() can
succeed.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions