bcachefs: Add open_buckets to sysfs

This is to help debug a rare shutdown deadlock in the allocator code -
the btree code is leaking open_buckets.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2021-07-12 23:52:49 -04:00 • committed by Kent Overstreet
commit 2e655e6de2
3 changed files with 28 additions and 0 deletions