diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-19 22:47:44 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-06-20 01:34:18 +0300 |
commit | a56da69799bd5f0c72bdc0fb64c3e3d8c1b1bb36 (patch) | |
tree | b12bf8cb4b964858a477591317dfeebee530c6ce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0a2a507d404eebbc168e8b1264edf0ac8c6047b4 (diff) | |
download | linux-a56da69799bd5f0c72bdc0fb64c3e3d8c1b1bb36.tar.xz |
bcachefs: Fix bch2_trans_put()
reference: https://github.com/koverstreet/bcachefs/issues/692
trans->ref is the reference used by the cycle detector, which walks
btree_trans objects of other threads to walk the graph of held locks and
issue wakeups when an abort is required.
We have to wait for the ref to go to 1 before freeing trans->paths or
clearing trans->locking_wait.task.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions