aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-07-13 06:03:21 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:35 -0400
commit43de721a33b214b253c07672c4c6ba7548f2d3e7 (patch)
tree874c14851b4a63c6e9ac22e968de2eb5ee033ab4 /tools/perf/scripts/python/export-to-sqlite.py
parenta1783320d46e878ddf5d2bb3380c181d515a5ff3 (diff)
bcachefs: Unlock in bch2_trans_begin() if we've held locks more than 10us
We try to ensure we never hold btree locks for too long - bcachefs tries to be soft realtime. This adds a check when restarting a transaction, where a transaction restart is cheap - if we've been holding locks for too long, drop and retake them. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions