linux-stable/fs/bcachefs/tests.h
Kent Overstreet ec3d21a9f2 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>
2023-10-22 17:08:48 -04:00

16 lines
282 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _BCACHEFS_TEST_H
#define _BCACHEFS_TEST_H
struct bch_fs;
#ifdef CONFIG_BCACHEFS_TESTS
int bch2_btree_perf_test(struct bch_fs *, const char *, u64, unsigned);
#else
#endif /* CONFIG_BCACHEFS_TESTS */
#endif /* _BCACHEFS_TEST_H */