bcachefs: Dump journal state when we get stuck
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 24 Feb 2021 06:16:49 +0000 (01:16 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:54 +0000 (17:08 -0400)
commit8567415457b25b467933e47ff78dca55a55f7206
tree4be6df636bcff05478a339bc611786ef92a714da
parent514852c2b58f06f1643b10264b6bc9089071b05c
bcachefs: Dump journal state when we get stuck

We had a bug reported where the journal is failing to allocate a journal
write - this should help figure out what's going on.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal_io.c