diff options
author | 2024-04-10 00:10:18 -0400 | |
---|---|---|
committer | 2024-04-10 22:28:36 -0400 | |
commit | 517236cb3e2f77bc785f06802dfbcca19dffd9ad (patch) | |
tree | 5339560a5fd6c55899a3053794cf18a1ddf8a25e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bcachefs: Fix a race in btree_update_nodes_written() (diff) | |
download | wireguard-linux-517236cb3e2f77bc785f06802dfbcca19dffd9ad.tar.xz wireguard-linux-517236cb3e2f77bc785f06802dfbcca19dffd9ad.zip |
bcachefs: Kill read lock dropping in bch2_btree_node_lock_write_nofail()
dropping read locks in bch2_btree_node_lock_write_nofail() dates from
before we had the cycle detector; we can now tell the cycle detector
directly when taking a lock may not fail because we can't handle
transaction restarts.
This is needed for adding should_be_locked asserts.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions