aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-10-16 03:36:40 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-10-18 00:49:47 -0400
commitd8b50597748d6d960c936c89b972516c5e39ee96 (patch)
tree5cc2529c2b90cac5d199ddbd7da59e5185d84d76 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentbcachefs: fix restart handling in bch2_do_invalidates_work() (diff)
downloadwireguard-linux-d8b50597748d6d960c936c89b972516c5e39ee96.tar.xz
wireguard-linux-d8b50597748d6d960c936c89b972516c5e39ee96.zip
bcachefs: fix restart handling in bch2_alloc_write_key()
This is ugly: We may discover in alloc_write_key that the data type we calculated is wrong, because BCH_DATA_need_discard is checked/set elsewhere, and the disk accounting counters we calculated need to be updated. But bch2_alloc_key_to_dev_counters(..., BTREE_TRIGGER_gc) is not safe w.r.t. transaction restarts, so we need to propagate the fixup back to our gc state in case we take a transaction restart. 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