]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Check if stuck in journal_res_get()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 7 Oct 2024 20:55:34 +0000 (16:55 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 9 Oct 2024 20:57:59 +0000 (16:57 -0400)
commita7e2dd58fbbd8882557135b9433192e038fdb88e
tree784036e9607c35e4b54aa7c067ab033950f8f449
parent04b670de2859a8a8b0830779f9c9bda5d39662ab
bcachefs: Check if stuck in journal_res_get()

Like how we already do when the allocator seems to be stuck, check if
we're waiting too long for a journal reservation and print some debug
info.

This is specifically to track down
https://github.com/koverstreet/bcachefs/issues/656

which is showing up in userspace where we don't have sysfs/debugfs to
get the journal debug info.

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