]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: sysfs/errors
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 28 May 2025 05:00:34 +0000 (01:00 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 30 May 2025 15:20:18 +0000 (11:20 -0400)
commitf1dc067bc10ac95550869dbe25dc4db1420f4f6a
tree1ffe333a6b86956e4a37c0e7c8d471d1587f3e50
parent66b7c51ceb9f08e7dfb6b25e811b5b791100eda8
bcachefs: sysfs/errors

Make the superblock error counters available in sysfs; the only other
way they can be seen is 'show-super', but we don't write the superblock
every time the error count gets incremented.

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