bcachefs: Improve would_deadlock trace event
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 4 Jan 2024 23:59:17 +0000 (18:59 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 6 Jan 2024 04:24:21 +0000 (23:24 -0500)
commitc13fbb7de2fc4fd61a44ebfa4ba182f35e0a3286
treef72bdce818a9e89c7ed3c82692c19c233061172e
parent074cbcdaeee433a02d6d0565b936bee0915cc5da
bcachefs: Improve would_deadlock trace event

We now include backtraces for every thread involved in the cycle.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_locking.c
fs/bcachefs/debug.c
fs/bcachefs/trace.h
fs/bcachefs/util.c
fs/bcachefs/util.h