summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-06-25 00:48:14 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-26 00:01:16 -0400
commit64b6a788bd96a0cdc11073a2d1f85413b078c1f2 (patch)
tree1a3e4388722d373fed9b8e71ce8c47b936462b22 /tools/perf/util/scripting-engines/trace-event-python.c
parent3e72acb78b73ccffeaf929c039dc5a0a7a147535 (diff)
bcachefs: Ensure we rewind to run recovery passes
Fix a 6.16 regression from the recovery pass rework, which introduced a bug where calling bch2_run_explicit_recovery_pass() would only return the error code to rewind recovery for the first call that scheduled that recovery pass. If the error code from the first call was swallowed (because it was called by an asynchronous codepath), subsequent calls would go "ok, this pass is already marked as needing to run" and return 0. Fixing this ensures that check_topology bails out to run btree_node_scan before doing any repair. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions