bcachefs: Add error handling to unit & perf tests
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 1 Dec 2020 17:23:55 +0000 (12:23 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:48 +0000 (17:08 -0400)
commitec3d21a9f25d495e0b6042a25f27cc711390195b
tree3cb1ae82276a5ca39a055adb71240bcf3db7801a
parent231db03c571ba3065a32999f4f76a5482c6557e7
bcachefs: Add error handling to unit & perf tests

This way, these tests can be used with tests that inject IO errors and
shut down the filesystem.

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