summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-08-05 13:06:44 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2022-10-03 23:54:56 -0400
commit28ffe3a5dbea36e87b54560090fefdfcc51674ce (patch)
treea4f4ba9e8ef9b5c0d0bd813aa9a43578fb33786c /tools/perf/scripts/python/export-to-postgresql.py
parent26cf8a9464a36319a5b41817c63693841f53a775 (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 <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions