aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-07-17 19:35:38 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:36 -0400
commite941ae7d3afc68127adef917a2b779dabe83fdfe (patch)
tree577edab610a98f574dbfc9cc9bf2622959affe95 /tools/perf/scripts
parent445d184af25abd70575539f7d7b2c8e25b8c49c8 (diff)
bcachefs: Add a counter for btree_trans restarts
This will help us improve nested transactions - we need to add assertions that whenever an inner transaction handles a restart, it still returns -EINTR to the outer transaction. This also adds nested_lockrestart_do() and nested_commit_do() which use the new counters to correctly return -EINTR when the transaction was restarted. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions