bcachefs: bch2_print_allocator_stuck()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 3 May 2024 18:49:23 +0000 (14:49 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:22 +0000 (17:29 -0400)
commite98786ea855cb28176e27ffce23fb163a36ed32e
treedb7adc56c0a1b5eb177b04041b0f8386b767e2f3
parent4c5b7294dedbdfae46f77262c0744879bb9b7221
bcachefs: bch2_print_allocator_stuck()

If we block on the allocator for more than 10 seconds, print out some
useful debugging info.

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