Kent Overstreet a56da69799 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>
2024-06-19 18:34:18 -04:00
..
2024-05-08 17:29:23 -04:00
2024-03-13 21:22:26 -04:00
2024-06-19 18:27:23 -04:00
2024-06-19 18:34:18 -04:00
2024-06-19 18:27:23 -04:00
2024-03-13 18:39:12 -04:00
2024-01-01 11:46:52 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-01-21 13:27:11 -05:00
2024-04-08 22:56:37 -04:00
2024-03-13 18:39:12 -04:00
2024-01-21 13:27:10 -05:00
2024-06-05 10:44:08 -04:00
2024-05-08 17:29:22 -04:00
2024-05-22 19:54:03 -04:00
2024-05-08 17:29:17 -04:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-05-08 17:29:19 -04:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-05-08 17:29:19 -04:00
2024-01-21 13:27:10 -05:00