bcachefs: Improve trace_trans_restart_would_deadlock
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 26 May 2023 20:59:07 +0000 (16:59 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:39 +0000 (11:47 -0500)
commit3398124444b90079a09374ab10444cd937b72ae1
tree9ad0e27b83e3d684b9cf01d57588f412aa1c5997
parente153a0d70b31b605282e2dd16c5fb924f79f5e93
bcachefs: Improve trace_trans_restart_would_deadlock

In the CI, we're seeing tests failing due to excessive would_deadlock
transaction restarts - the tracepoint now includes the lock cycle that
occured.

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