mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
ec3d21a9f2
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>
16 lines
282 B
C
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 */
|